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 6762211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:17:33+00:00 2026-05-26T14:17:33+00:00

I made an RSS reader using Zend’s Zend_Feed_Rss object. It worked fine for me

  • 0

I made an RSS reader using Zend’s Zend_Feed_Rss object. It worked fine for me (with feed 1) but our tester found out that it wont return a title on feed 2 (see below).

  1. http://www.nu.nl/feeds/rss/algemeen.rss
  2. http://rss.slashdot.org/Slashdot/slashdotScience

     <?php
    
     //...
    
     if($setUp){
         try{
             $feed = Zend_Feed::import($this->options['feed_url']);
         }catch(Exception $e){
             $setUp = false;
             $this->view->errorMsg = $this->lang['wrongRss'];
         }
     }
    
     if($setUp){
         $this->view->feed = $feed;
         $wTitle = $feed->title();
         if($this->title != $wTitle){
             $this->title = $wTitle;
         }
     }
    
     //...
    
     ?>
    

Both $feed->title and $feed->title() do not work on feed 2.

Zend_Feed_Rss object doesn’t have any other methods or properties to get the title from. Who knows whats going wrong?

Edit: Stupid of me to not properly check the rss feed. It’s an rdf feed thats not working. The entries are fetched ok, so the only thing that’s not working is the title. How can I get the title from the rdf feed? Zend’s feed object only seems to support rss and Atom.

  • 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-05-26T14:17:33+00:00Added an answer on May 26, 2026 at 2:17 pm

    You should use the appropriate get*()-Functions, e.g. getTitle() instead of the properties. See the manual for further examples or the API documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: What is object serialization? I've made a small RSS Reader app using
i made news applicaion in android using RSS feed and now i want to
I have a basic RSS Reader I made from three20 tutorials using TTLauncherView as
I made this piece of php code which grabs a RSS feed, but I'm
I am using an RSS feed as a data source. I've adjusted how I
So i just made my first RSS feed, or so i tought, in combination
I'm coding a RSS reader in Javascript using XMLHttpRequest . For some RSS Feeds
I am trying to get some data from a RSS feed but I am
I'm having some troubles with the RSS feed parser I made, based on SAXParser
I have a PHP Yii application that uses an RSS feed reader. I wanted

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.