|
I'm building my own custom RSS feed in PHP. I want the tag to contain line breaks to make the text more readable. However, I can't seem to figure out how to do it correctly. No matter what I try some RSS reader interprets it incorrectly. Is there some...
Started by Candidasa on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If the raw data....
Correctly
You can use CDATA and html line breaks: <br/>
Example:
<![CDATA[Hi Rss feed<brtry using html tags like <p> it splits the code and every rss- reader will interpret them in the RSS .
|
|
I'm currently using Magpie RSS but it sometimes falls over when the RSS or Atom feed isn't well formed. Are there any other options for parsing RSS and Atom feeds with PHP?
Started by carson on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Your other options include:
SimplePie Last RSS PHP Universal Feed Parser I use SimplePie to parse tested it with non-well-formed RSS / Atom feeds so I don't know how it copes with those, I'm assuming a meaningful class for something specific....
|
|
I want to write an application that consumes RSS. I want to be able to show some items in the item description of the RSS feed as HTML, such as images, links, br, etc. However, I don't want any embedded scripts to run, unruly css elements, etc. I don'...
Started by Joel on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I was using a RSS script that was causing the html-encoded angle brackets to be 'mixed in' with the real html in the rss feed
This is waht the source looked like in phpBB:
<a href="link">link</a> <....
Tags/
I figured it out.
|
Ask your Facebook Friends
|
I'm having some difficulty getting this script to execute properly.
The create_rss function does not create the RSS file when the remote function updateStatus is called.
<?php define("DB_HOST", "localhost"); define("DB_USER", "user"); define("DB_PASS...
Started by rrrfusco on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Here's a snippet at the end of the code:
// SET RSS FILE VARIABLE //linux : doc root = dirname //windows : doc root = dirname....
That calling a private function "create_rss" from a remote function "updateStatus" does not return returning true.
|
|
I'm new to the MVC framework and wondering how to pass the RSS data from the controller to a view. I know there is a need to convert to an IEnumerable list of some sort. I have seen some examples of creating an anonymous type but can not figure out how...
Started by TriFatlete on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Then you have got a dataset which are basically UserControls wrapped... .
You may design a dataset with that generic format and read the rss(xml) with ReadXml method and the uri as the path to the file.
A rss is a xml file with special format.
|
|
I'm currently working on an ASP.NET Website where I want to retrieve data from an RSS feed. I can easily retrieve the data I want and get it to show in i.e. a Repeater control.
My problem is, that the blog (Wordpress) that I'm getting the RSS from uses...
Started by bomortensen on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Remember that RSS is a data format....
Does it have anything to do with the type of rss feed you're consuming?
http://codex.wordpress.org/WordPress_Feeds
If it's not returning from the RSS feed formatted as you wish, you have little.
|
|
I have used several different scripts that people have suggested for trying to parse RSS including Magpie and the SimpleXML feature in PHP. But none seem to handle RSS 2.0 well because they will not give me back the full content chunk. Does anyone have...
Started by Chacha102 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
/* the namespace of rss "content" */ $content_ns = "http://purl.org/rss/1.0/modules/content/"; /* load the file */ $rss = file_get_contents....
Without reading any documentation of the rss "content" namespace and how it is to be used, here.
|
|
Hi,
I had this code that I wrote last year and it returns RSS feeds for some term I enter:
<html> <body> <form name="form" action="search.php" method="get"> <input type="text" name="q" /> <input type="submit" name="Submit" value...
Started by SuperString on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can start using right away , or reading the documentation for more advance usage .
It's easy to use and have active development.
What errors do you get? What do you put in if you test it? Are the links up-to-date?
Maybe you could try SimplePie .
|
|
In CF8, I have a working cftree with an RSS feed per node (multiple nodes). The problem is that I am not currently using a bind which means that all the feeds are read when the page is loaded which takes a very long time. What I want to do is bind the...
Started by JS on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Access="remote" returntype="array" output="no" hint="gets EliteFTS RSS feed"> <cfargument name(eliteRSS.publisheddate)#</div><br/>" /> <cfset feed.href = "#rsslink#" /> <cfset feed.target.
|
|
I'm creating a website where I need to show the top 5 records from an RSS feed, and these need to be sorted by date and time.
The date fields in the RSS feed are in the following format: "Mon, 16 Feb 2009 16:02:44 GMT"
I'm having big problems getting ...
Started by Buckers on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Sorting RSS-feed by date using XSLT
The following transformation :
<xsl:stylesheet version="1.0;/description> <link>http://news.bbc.co.uk/go/rss/-/1/hi/business/7893873.stm</link> <guid;/description> <link>....
|