RSS Question |
[eluser]adamfairholm[/eluser]
CI Peepz, I've got a problem. If anyone has an answer, it would be very much appreciated. I have an RSS feed I've created for someone, and it validates and everything is all cool. Same with the Atom feed. Here is the RSS feed: http://www.ceosforcities.org/feeds/rss/blog Here is the atom: http://www.ceosforcities.org/feeds/atom/blog As you might be able to guess from the URL, these are being generated from a controller and then generated in a view from a database. So it shows up fine everywhere, but our client is all about Netvibes. Netvibes doesn't like these RSS feeds. Doesn't show the last 4 or so on the RSS feed, and maybe the last 1 on the atom, although it handles the Atom much better. I know Netvibes has a bit of delay, but on RSS its not just the delay - its been a few days. It just plain refuses to update the last few. Very strange. Now here is the funny part, the RSS feed we created replaced an old feed, and the new feed is identical to the old one in every way. The old on apparently had no update problems. I'm really confused as to why this is happening. Can anyone venture a guess?
[eluser]adamfairholm[/eluser]
Yes, here is the code generating the rss feed: Code: <?php And here is the code generating the atom feed: Code: <?php atom_date, rss_date_format, and dashes are just formatting a the date from a datetime stamp. The output validates, and you can see that in the Atom/RSS feed output I linked to above. The atom feed is also designed to smoothly work with the old one, hence some maneuvering around to keep old atom ids.
[eluser]Yash[/eluser]
I can't find any error..or something only a tip although you know it.. Code: <?php echo just hang on someone will help u here for sure..
[eluser]parrots[/eluser]
Might not be of much help but I loaded your RSS feed in Netvibes and I got 30 items, including what seems to be your oldest item in the item "Great Cities Attract Ambitious People." Dunno if I'm missing something but it looks ok to me?
[eluser]adamfairholm[/eluser]
After a lot of banging my head against the wall, it appears that Netvibes can sometimes have a problem with an RSS feed that is just coming from a url without a file extension. For example, this didn't seem to work: http://www.thesite.com/feeds/rss/ But this worked fine: http://www.thesitecom/feeds/rss.xml Thanks Yash and Parrots for taking a look at this - I really appreciate it. The info of trying switching your RSS feed to have a file extension is nowhere to be found on the net so hopefully this is helpful to someone at some point. Doesn't make sense, I know, but Netvibes was having a terrible time updating it correctly for some reason.
[eluser]vinod_ci[/eluser]
Hello guys i want to write view in a file. The view contains all data <summary><![CDATA[<?=strip_tags(word_limiter($entry->body, 100));?>]]></summary> $data=$this->load->view('ss/rss',$data,true); if ( ! write_file('file.php', $data) { echo 'Unable to write the file'; } else { echo 'File written!'; } The file.php contain "Array" text. My questions is how to write view in a file.
|
Welcome Guest, Not a member yet? Register Sign In |