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

Retrieving <item><feedburner:origlink> #93

Open
tnewton42 opened this issue Jul 25, 2014 · 1 comment
Open

Retrieving <item><feedburner:origlink> #93

tnewton42 opened this issue Jul 25, 2014 · 1 comment

Comments

@tnewton42
Copy link

Hi Michael,

I'm interested in getting the value of <feedburner:origlink> from the <item> element and using it for the item.link value.

I was trying something like adding the following:

// Item
if (!processed) {
    if ([currentPath isEqualToString:@"/rss/channel/item/title"]) { if (processedText.length > 0) item.title = processedText; processed = YES; }
    else if ([currentPath isEqualToString:@"/rss/channel/item/feedburner:origlink"]) { if (processedText.length > 0) item.link = processedText; processed = YES; }
    else if ([currentPath isEqualToString:@"/rss/channel/item/link"]) { if (processedText.length > 0) item.link = processedText; processed = YES; }

(I've added similar code to case FeedTypeRSS1: and case FeedTypeAtom.)

However, "feedburner:origlink" is never returned. Where would I add code to allow the element to be added to "currentPath"? Thanks!

@EvgenyKarkan
Copy link

@tnewton42 please check #112 - maybe you will be able to help.

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

2 participants