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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:59:26+00:00 2026-05-14T16:59:26+00:00

So i just made my first RSS feed, or so i tought, in combination

  • 0

So i just made my first RSS feed, or so i tought, in combination with CI. Now my view DOES display the top of my rss page (Title and Description), But all items are omitted. When i rightclick->view source it DOES contain all the items within the item tags.

Can anyone help me?

View (rss.php):

<?php echo '<?xml version="1.0" encoding="'.$encoding.'"?>'."\n"; ?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:content="http://purl.org/rss/1.0/modules/content/">

<channel>
    <title><?php echo $feed_name; ?></title>
    <link><?php echo $feed_url; ?></link>
    <description><?php echo $page_description; ?></description>
    <dc:language><?php echo $page_language; ?></dc:language>
    <dc:creator><?php echo $creator_email; ?></dc:creator>
    <dc:rights>Copyright <?php echo gmdate("%Y", time()); ?></dc:rights>
    <dc:date><?php echo gmdate("%Y-%m-&#xdT;%H:%i:%s%Q", time()); ?></dc:date>
    <admin:generatorAgent rdf:resource="http://www.codeigniter.com/" />
  <?php foreach($items as $entry): ?>
  <?php $entry_url = base_url().$this->lang->lang().$localized_news[$this->lang->lang()].'/'.print_date(strtotime($entry->published), "{year}/{month2}").'/'.$entry->slug; ?>
      <item>
        <title><?php echo xml_convert($entry->title); ?></title>
        <link><?php echo $entry_url; ?></link>
        <guid><?php echo $entry_url; ?></guid>

        <description><?php echo $entry->summary; ?></description>
     <pubDate><?php echo date('r', $entry->published); ?></pubDate>
      </item>
  <?php endforeach; ?>
</channel>

This is what the output looks like:
screenshot

and in the source, every item needed to be displayed is there. with
<item> <link> <description> <guid> and <pubdate> tags.

Ive been looking for the cause for about 1.5 hours now. and i cant find anything. Can someone tell me if i did anything wrong? Appreciate the help!

~Menno

  • 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-14T16:59:26+00:00Added an answer on May 14, 2026 at 4:59 pm

    First port of call: The W3C feed validator.

    I’ll bet* an Amstel beer against a delicious Kölsch that the validator will reveal what’s wrong.

    Characters outside the current character set, for example, can block the rendering of the whole feed.

    * = must be 18 or older to participate. Prize must be claimed in downtown Cologne.

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

Sidebar

Related Questions

I just made my first push into a Mercurial repository and now I am
I have just made my first proper little desktop GUI application that basically wraps
i'm just starting to learn about database design. For my first project I made
I just made my first jQuery mobile site. I want to have people that
i am new to java and i just made my first program: HelloWorld and
I just made a fresh copy of eclipse and installed pydev. In my first
I'm just starting Java ... again. I just made a simple program class first
I just made my first setup of RoR, and creating a new application works
I'm new to Drupal, just made my first site and having some issues with
I just made my first MVC3 app, and I thought it would be fun

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.