Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThreeWordPhrase's RSS freaks out pubDate in XML::FeedPP, determine source #13

Closed
Stantheman opened this issue Dec 14, 2013 · 1 comment

Comments

@Stantheman
Copy link
Owner

Something about ThreeWordPhrase's RSS feed causes the builtin "pubDate" call not to work, but calling "get('pubDate')" works fine:

perl -MXML::FeedPP -E '$f=XML::FeedPP->new("http://www.threewordphrase.com/rss.xml"); say $f->get_item(0)->pubDate(); say $f->get_item(0)->get("pubDate")'
@Stantheman
Copy link
Owner Author

XML::FeedPP loves w3cdtf and does some regex goofiness to determine how to parse stuff, eventually bails. The extra work I'm doing to get('pubDate') doesn't matter because if pubDate failed, it's already not in the right format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant