News Sites With Rss

News Sites With Rss
How do I display a RSS news feed on my website? I want to use ASP with Msxml2.DOMDocument.3.0 and XPath?

Hi I’d like to put an RSS news feed on my website. I have the site developed with ASP, and I am currently displaying products from Amazons web service that returns XML. I am using Msxml2.DOMDocument.3.0 and Xpath to parse the XML from the web service. When I looked at the Google news feed and I tested a URL * http://news.google.com/news?q=blu-rays&output=rss * I got XML in my browser. This looked just like the XML I was getting from the web service. So I tried parsing it the same way but I am having no luck getting anything to display. Does anyone know how to do this? Or can you point me to a specific website that shows how to do this? It must use Msxml2.DOMDocument.3.0 and Xpath to display the news feed or have examples that work with ASP. I saw one example on a site and tried it out and it didn’t work. Thanks
I want to embedd these in my website.They are not encoded, I am getting the XML, click on the link above. I just need to know how to parse the xml properly.

good question!

Since you are getting the xml up on the server you can parse it there and get the data down to the html page.

Most folks do rss on the browser using AJAX and can do xpath with a wide variety of libraries. You said you have to use MS stuff… so that may not be what you want..

Why didn’t the example work? syntax error? did something different than what you wanted? try showing a link to the source and let some experts help you out!

News Sites With RssNews Sites With Rss
News Sites With Rss

Pitfalls of a Newbie – What about RSS feeds?

If you’d asked me a couple of days ago, however, I would have disagreed. I had immersed myself in all the technical details of RSS and installing channel creation tools and was confused.
Let me see if I can break through some of the fog to help you figure out how to do this. In short, here’s what’s involved:

1. Use the free WebReference RSS Channel Editor to set up a channel and list up to 15 articles.
2. Upload the file you’ve created to your webserver.
3. Validate the XML to make sure it can be read by the multitude of news aggregation programs.
4. Advertise your RSS feed (channel) to various directories and to your site visitors
5. Maintain your feed by adding new articles using the RSS Channel Editor
Before we look at each of these points, however, I need to briefly discuss news aggregators and RSS formats.

News Aggregators
News aggregators are the software tools used to read the RSS news feeds that you and your customers will subscribe to.

Various RSS Formats
There’s some controversy over competing RSS format standards. Most feeds use the related standards RSS 0.91 or 2.0, which are pretty similar.
I don’t think it makes much difference what standard you adopt at first — the crucial decision is what tool you can find to create your channel. For now the most accessible tools produce RSS 0.91 feeds. All the major news aggregators support all the formats. Of course, the more recent 1.0 and 2.0 standards each offer advantages, but don’t wait until you can produce feeds in these formats. Start now with whatever standard is easiest for you and upgrade later.

1. Create a Channel
To create a RSS news channel that lists the various articles on your site or in your e-mail newsletter, you have four choices:
· Construct it from scratch in Notepad. Not recommended.
· Use a RSS syndication tool built into the content management or blogger software you may be using.
· Prepare your feed from a stand-alone tool such as RSS Channel Editor.
· Have a software tool “scrape” your site and incorporate the most important information it finds there. However, scraping your site with a tool like MyRSS may produce some pretty strange results unless the process is customized and the appropriate sections are marked on your site.

I tried a number of tools and settled on the WebReference RSS Channel Editor. This program allows you to retrieve your current RSS file (if you have one set up), and edit it or add to it, up to 15 articles. The program produces RSS 0.91 output and works quite well. Another stand-alone program is the RSS Headline Creator from WebDevTips which produces RSS 2.0 output, but isn’t as easy to maintain your feed as with the RSS Channel Editor.

2. Upload the File
With RSS Channel Editor you click a button “Build RSS” and then copy and paste the code to a file. The extension you use doesn’t really matter to the news aggregators — .rss, .rdf, .xml all work. Now, with your FTP program, you upload your file to your webserver where it can be viewed and automatically checked by news aggregators.

3. Validate the XML
The next step is to check your RSS file to make sure that it is error-free. If you build this file from scratch or “improve” it with a text editor, errors can easily creep in. Of the various validation programs, I found that FEED Validator for RSS and Atom gave the most helpful suggestions to fix errors in the code. Another is Userland RSS Validator.

4. Advertise Your RSS Feed
Once you’ve checked your code, it’s time to let others know about your feed. This has two aspects:
· Place an XML icon on your website hyperlinked to the URL of your RSS feed. For site visitors who have news aggregators, this is a clue that allows them to subscribe to the channel — either by right-clicking on the icon and selecting subscribe or some other method. The icon doesn’t need any explanation.
· Register your RSS feed with various directories. Syndic8 is one of the largest and doesn’t cost anything. First, you’ll need to register. Then select “Suggest” from the top menu to give the URL of your RSS feed. After the feed has been reviewed and approved, it will appear in the Syndic8 directory. NewsIsFree offers free listings for non-commercial organizations. RSSxpress lists UK sites.

5. Keep Your Feed Up-to-Date
Finally, you’ll need to maintain your feed by adding new articles using the RSS Channel Editor. Every time you post a new article on your website, remember to list it in your RSS feed also. If you faithfully do this, an increasing number of customers and interested visitors will rely on your RSS feed and will visit you whenever an article of interest appears in their news aggregator.

Displaying the Feed on Your Home Page
While this isn’t necessary or even appropriate in all cases, consider displaying your own RSS feed on the home page of your website as a guide to what is new inside the site. There are several tools which convert RSS to HTML that you can display on your website. Be aware that getting the various XML and RSS parsing modules installed on your webserver can be tricky, so you may need to enlist a programmer for an hour or so to help you get these programs working.

Thought for the day:
To promote your offering on the Internet, it is often necessary to extend your knowledge and try something new in otder to succeed.

About the Author

Steve Castle is a respected Internet Marketer who is committed to ethically helping others to achieve their financial freedom.
mailto:steve@ask-a-southafrican.co.uk

http://www.ask-a-southafrican.co.uk/pips.html

http://www.triseven.ws

http://www.printwisesolutions.com

do governments appreciate or dislike public communication advancements?

today everyone has a cell phone with a digital camera connected to internet. we can share files and videos simply. on internet there are thousands of sites hosting your blogs, videos etc. everyone on the street can have his own propaganda machine. this would cause serious problems for the governments when they don’t like to let other know what they do in case of riots etc.
at the same time governments need these technologies more and depend on them very much. all of the active countries in politics need their own huge propaganda machines. do these governments appreciate or dislike public communication advancements?

http://online.wsj.com/article/SB124562668777335653.html#mod=rss_whats_news_us

Have to completely and totally agree with what “Can’t Kill a Hashtag” has said here – technology advancements helps to expose things – (especially human rights violations) – that would normally go unheard of/unseen!

Of course, the true fact is: if the government were doing things legally, lawfully, and morally, then they wouldn’t have anything to hide – would they? If they weren’t violating human/state/national/international rights – then where’s the harm letting your average citizen film/take pics/blog the event? (Those who are guilty of such misconduct, *KNOW* that they are guilty – and that’s when I think they would have a problem with this, when they *KNOW* that they have done wrong!)

Now, it is true that there are certain things that the government has to keep quiet about – (especially when it comes to the safety of their people in regards to terrorism) – but that’s a *WHOLE* different scenario than what we’re talking about here, or even what I’m talking about above!

I would also like to add, that personally, if *I* were in trouble and somebody was abusing me, punching me, kicking me, shooting me, etc etc – in short, violating my very basic human rights – *I* would want the world to know about it! I would want other people to know about it – not just so people could feel sorry for me, but just so it wouldn’t happen to another person. (And, also, so the problem could be dealt with/corrected.)

Wouldn’t you want people (possibly even the world) to know – if something horrible happened to you?

Too many websites to read? Really Simple Syndication – RSS – Explained

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>