Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7898489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:26:48+00:00 2026-06-03T08:26:48+00:00

I have this code to parse an RSS feed but for some reason my

  • 0

I have this code to parse an RSS feed but for some reason my catch for itemDownLink is never firing. Can someone explain why?

 public Channel parse(InputStream is) {

    RootElement root = new RootElement("rss");
    Element chanElement = root.getChild("channel");
    Element chanTitle = chanElement.getChild("title");
    Element chanLink = chanElement.getChild("link");
    Element chanDescription = chanElement.getChild("description");
    Element chanLastBuildDate = chanElement.getChild("lastBuildDate");
    Element chanDocs = chanElement.getChild("docs");
    Element chanLanguage = chanElement.getChild("language");

    Element chanItem = chanElement.getChild("item");
    Element itemTitle = chanItem.getChild("title");
    Element itemDescription = chanItem.getChild("description");
    Element itemLink = chanItem.getChild("link");
    Element itemDate = chanItem.getChild("pubDate");
    Element itemDownLink = chanItem.getChild("feedburner:origEnclosureLink");
}

Here is the catcher:

        itemDownLink.setEndTextElementListener(new EndTextElementListener() { 
        public void end(String body) {
            item.setDownloadLink(body);
        }
    });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:26:50+00:00Added an answer on June 3, 2026 at 8:26 am

    You need to use the 2 parameter form of getChild and specify the feedburner uri (http://rssnamespace.org/feedburner/ext/1.0).

    Element itemDownLink = chanItem.getChild("http://rssnamespace.org/feedburner/ext/1.0", "origEnclosureLink");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use this bit of code to feed some data i have parsed from
I'm using NSXMLParser to parse an rss feed. But I'm getting some strange behavior
I have the following code to parse an RSS feed: $doc = new DOMDocument();
i have this rss feed to parse that contains several tags. i am able
I have pulled 7 RSS feed and parse in our website. But the parse
I have this code snippet: DateFormat formatter1; formatter1 = new SimpleDateFormat(mm/DD/yyyy); System.out.println((Date)formatter1.parse(08/16/2011)); When I
I have date formatted in this way: 2010-02-04T00:00:00 I use this code to parse
I have a problem with this code right here: - (void)fetchedData:(NSData *)responseData { //parse
I have this code so I can grab the values ind the dataset before
How can I parse a pubDate from a RSS feed to a Date object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.