hi,
i got a asp.net page with content on it and its always being updated with new content. i also have a different webpage which looks exactly like the asp page and i cant keep track of what content is being updated on the asp.net's page so i can update the wording on my other domain. i heard i can do it with rss , would it be possible to create a script somehow have have the second page automatically feed off of the asp pages content automatically? witout me having to go through the page and see any new words or updates and update it on the other page?
thanks
ps: if this is possible what tutorials can i read up on or what examples can you show me..
Rss feed question?
Typically you would generate an RSS feed from your data in the same way you generate your ASP.Net page from your data. It wouldn't be generated from the content of your page, more it would be an second page or an alternative template. RSS is a format, just like HTML is a format.
The spec for the RSS is here:
http://blogs.law.harvard.edu/tech/rss
A general idea of how to use RSS in ASP.Net try this tutorial:
http://aspnet.4guysfromrolla.com/article...
And here's a tutorial for the other end, reading an RSS feed using ASP.Net:
http://www.asp101.com/articles/john/mega...
If you don't have a back end database then your options are more limited, you could try marking your page up with the hAtom microformat:
http://microformats.org/wiki/hatom
And then scraping the content off on your other page by passing it through a converter:
http://tools.microformatic.com/help/xhtm...
Or do it yourself by using an XSLT script:
http://rbach.priv.at/hAtom2Atom/
No comments:
Post a Comment