rss

creating an rss feed in php (viewing in mamp)

i've created an rss feed in php using the below code. i've double checked all the variables (i.e. username and password) and they are correct. mysql is set up correctly as well. i'm just getting a blank page when i try to view this locally on my computer using mamp. any help would be appreciated.. does this code look correct, and is ...

iPhone RSS thumbnail

I have a simple RSS reader. Stories are downloaded, put into a UITableView, and when you click it, each story loads in a UIWebView. It works great. Now though, I'd like to incorporate an image on the left side (like you'd see in the YouTube app). However, since my app pulls from an RSS feed, I can't simply specify image X to appear in ro...

How to group similar News

I'm trying to build a rss-news fetching server to collect all news of a few sites about a topic. Often these sites have similar news with nearly the same information. How would it be possible to group such news. For example display the first and then a summary of other links? Does anybody have experince with this? ...

Is there a non-technical reason for choosing a Syndication format?

I have a project that will need to be able to export data for feed readers. Is there a non-technical reason I should pick RSS over Atom, Atom over RSS, one of the flavors of RSS over another or anything else? In particular, I'm looking for things like low or high adoption, difficulties/incompatibilities or particular ease with popular ...

Searching an open source RSS component, any suggestions?

Guys, I am searching an open source RSS component to use in my project (.Net 3.5, C#). I have found ASP.Net RSS toolkit: http://aspnetrsstoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=3674. Do you know about advantages and disadvantages of the component? Could you suggest a better open source RSS component, if yes, what are...

Only show X rows from DataGrid

Hi, I want to post my 5 recent twitters on my website. I've build a datagrid with XMLTextReader in C# which reads the feed but the problem I face is that it shows ALL the feeds and I can't find a way to only show 5. Any idea's? XmlTextReader reader = new XmlTextReader("http://some.rss/feed.rss"); DataSet ds = new DataSet...

Best Database structure for storing RSS feeds

I've been searching around trying to find an answer both here and google, although I've found some pointers I haven't quite found a solution. If you have a simple RSS reader with a database, you might have a couple of tables for storing feeds (ignoring dealing with subscribers here): Feeds (feed-id, feed-title, feed-url) Items (item-i...

Javascript that reads RSS in safari?

I've searched around, and there doesn't seem to be a way to read remote RSS files via javascript... specifically in safari This is more or less what i'm trying to do... I've tried xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); or xmlDoc = document.implementation.createDocument("","",null); and then xmlDoc.load('http://localhost/dr...

Can I add my own tags in a rss item?

In the rss xml file I have my channel and several items. Typically the item has a title, link, description and maybe time or something. Can I put my own tags in there with additional data I want to send? Example: Say if was a doing a rss feed to contains weather/temperature info, I might have several item tags, with one for each cit...

Deleting a section of text from an RSS feed

Twitter's RSS feed displays names as: <name>johnDoe (John Doe)</name> Is there a way to use php or javascript (preferably jquery) to delete everything starting with the first parentheses and after? I only want to show the username and not the username and the person's actual name. Other details: I'm parsing an RSS feed into a page ...

How do I correctly create a Zend Feed?

I have successfully created a simple RSS feed, but entries keep coming back as unread and updated, and entries deleted from the client reappear everytime I ask mail to update the feed. What am I doing wrong? I use this simple function to create an rss feed: public static function getFeed($db) { $title = 'Latest feeds'; $feedU...

Help! Flash cannot load XML data from a third-party domain

I am getting news from Yahoo using an RSS feed, using: XML.load("http://finance.yahoo.com/rss/topstories") Yea this is legal and all, and although it works perfectly when my SWF is offline -- it shows a security error, but I allow my D drive "domain" in the Adobe Security Panel. But as soon as I upload it to my server, and test it on...

Can JavaScript load XML data from a third-party domain?

Can JavaScript load an RSS XML feed from Yahoo? Is client-side JS allowed to access 3rd-party domains? ...

Django-way of specifying channel image in rss feed

What is the "django-way" of specifying channel image in rss feed? I can do it manually by rolling my own xml, but was looking for a proper way of doing it. Edit dobrych's solution is not quite applicable here because I was asking specifically about RSS not Atom feeds ...

Hierarchical RSS Feeds

Is it possible to create an RSS feed with a multi-level hierarchy, sort of like a directory structure? Is this allowed per the RSS spec? If this is possible, does anyone know of what limitations there might be? As in, are there any particular readers that would not support it? My main concern here is that I want to create an RSS feed ...

Classic ASP RSS Reader not working on internal server

I've got a web-based RSS Reader written in Classic ASP that I've used successfully in public projects past. However, it does not want to cooperate on this in-house project. Pertinent Code: set xmlDoc = createObject("Msxml.DOMDocument") xmlDoc.async = false xmlDoc.setProperty "ServerHTTPRequest", true xmlDoc.load(extURL) If (xmlDoc.par...

How to recover a broken python "cPickle" dump?

I am using rss2email for converting a number of RSS feeds into mail for easier consumption. That is, I was using it because it broke in a horrible way today: On every run, it only gives me this backtrace: Traceback (most recent call last): File "/usr/share/rss2email/rss2email.py", line 740, in <module> elif action == "list": list(...

How can I convert an RSS feed to Atom, inline?

I admit to being a bit behind the times when it comes to understanding RSS/Atom feed issues. All I know is, I want to have an Atom feed converted to an RSS feed inline. Meaning that I want to specify an option somewhere that says use this xsl or whatever to convert the Atom feed to an RSS feed. Is there some way to accomplish this tha...

Rss Function

I have a function to build a rss feed with PHP: function createRSS() { $currentDate = time(); $sql = "SELECT * FROM ". ADS_TABLE ." WHERE expires > $currentDate ORDER BY enterd DESC LIMIT 0,400"; $results = myExec($sql); // open a file pointer to an RSS file $fp = fopen ("mexautosrss.xml", "w"); if (!$fp) { ...

Creating RSS/Atom feeds: template language or XML library?

I'm creating an RSS (and/or Atom) feed for my website. Now, I can immediately think of two ways to do this: Use the same templating system I use to generate the HTML (Clearsilver if anyone's wondering), basically just treating the RSS feed like any other web page that happens to be in RSS+XML instead of XHTML Use an XML library, or an ...