|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Evangelist
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: USA
Posts: 572
|
RSS Feed Parsing Namespace
Hello,
I am having trouble figuring out how to get the data out of a namespace from an RSS feed im trying to parse. Code:
<pubDate>Sun, 01 Nov 2009 17:10:18 PST</pubDate> <rx:CurrentPrice xmlns:rx="urn:ebay:apis:eBLBaseComponents">4999</rx:CurrentPrice> <rx:EndTime xmlns:rx="urn:ebay:apis:eBLBaseComponents">1257729018000</rx:EndTime> Help would be appreciated, Thanks. |
|
|
|
|
|
#2 |
|
/(?i:\Abb\z)|(?![Bb]{2})/
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: Wigan, United Kingdom
Posts: 617
|
How are you parsing the feed? If using SimpleXML, look into SimpleXMLElement::children; for DOM, DOMElement::getElementsBYTagNameNS.
If you're using neither, let us know what you are doing. |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 11:42.









Linear Mode
