XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 1st, 2004, 11:58 PM
SublimeEveryday SublimeEveryday is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 6 SublimeEveryday User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
rss question

I wasnt sure where to post this question but xml seemed a close enough bet. I cant figure out how to use the category tag in RSS. I'm trying to use the 3dgpu rss feed. when i try to extract the category i just get nothing in the variable i tried to extract it too. but the same way ive been doing this has worked for the title, description, link and pubdate so whats the deal with <category>? Am I just using it wrong or something. I must admitt im new to RSS. Thanks alot.

Reply With Quote
  #2  
Old September 3rd, 2004, 03:08 PM
rguilbault rguilbault is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 30 rguilbault User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 15 m 18 sec
Reputation Power: 5
How are you extracting the information (do you have a code example)?

Make sure that if you're doing things kinda 'manually', you reference children properly.

For example, if you had:

<letter>
<head>
<to>Me</to>
<from>Also Me</from>
</head>

<text>This is my letter: P</text>
</letter>

If you have an object-oriented language and have a reference to the root node (letter), you'll be able to access the text by something like:

referenceVar.childNodes[1]

now, if you do the same thing for the head:

referenceVar.childNodes[0]

you may not get the text enclosed in the deeper tags -- you would need to do another child node reference -- like:

referenceVar.childNodes[0].childNodes[0] // to
referenceVar.childNodes[0].childNodes[1] // from

I don't know if this has anything to do with your question -- but it's something to consider if you can get the information from some nodes, but not others.

Also, you may wish to give a snippet of the RSS feed -- as there are like 7 different versions or something close to that (maybe it's 11?)

Hope this gives some insight.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > rss question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT