Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Parsing ATOM - Yay (sarcasm)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ILLHILL
Junior Member

Netherlands
341 Posts

Posted - 09 August 2007 :  16:40:43  Show Profile
Hi, I have been able to figure out how to parse Atom, well, at least
on the entry level.

The problem I'm stuck with is how to parse the feed's title and link?
With RSS you can just do the following:


	set channelNodes = xmlDoc.selectNodes("//channel/*")

	for each entry in channelNodes
		if entry.tagName = "title" then
			strChannelTitle = entry.text
		elseif entry.tagName = "description" then
			strChannelDescription = entry.text
		elseif entry.tagName = "link" then
			strChannelLink = entry.text
		end if
	next

But, since Atom does not have a channel, that won't work.
Anybody has any suggestions or experience with this?

Greets & thanks, Dominic

CLPPR.com - All The News Only Seconds Away
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07