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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:29:33+00:00 2026-05-11T21:29:33+00:00

I use Zend Framework to read an RSS feed is as simple as instantiating

  • 0

I use Zend Framework to read an RSS feed is as simple as instantiating a Zend_Feed_Rss object with the URL of the feed :

$feed = new Zend_Feed_Rss('http://rss.exemple.com/feed');
echo $feed->title();

This method doesn’t exists

echo $feed->version();

How I can get the version of Rss, like 2.0 or 0.92 ?

  • 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-11T21:29:34+00:00Added an answer on May 11, 2026 at 9:29 pm

    It’s certainly not obvious!

    $feed = new Zend_Feed_Rss('http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/uk/rss.xml');
    
    $dom = $feed->getDOM();
    
    $version = $dom->ownerDocument->documentElement->getAttribute('version');
    

    This example works for RSS 2.0

    You may need other checks for atom etc, but you can see how to access the root node now.

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

Sidebar

Related Questions

I use Zend Framework with ZfDebug ( http://code.google.com/p/zfdebug/ ) and a plugin Base64 Encode/Decode.
I am trying to use the new Eventmanager of the Zend Framework 2. I
I'm recently have learned to use Zend Framework. I did a simple CRUD application.
I'm new to the Zend Framework so my apologies if I'm missing something simple.
I use Zend Framework in my web application. I have the next URL: domain/user/user/username
I use Zend framework to build the forms, I want to make the edit
In our project we use Zend Framework Model generator, which produces something like this
I have a Zend Framework project using version 1.10.8 with Doctrine 1.2.4.I use Zend_Auth
I have an application developed in Zend Framework 1.11. I use Zend_OpenId to create
I'm currently working on a project where I use Zend Framework with Propel. I'm

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.