What is OPML?
RSS Feeds
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Search Engine Optimization > RSS Feeds 2 April 2006 20:27:10

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

RSS Feeds

Troar 2 April 2006 20:27:10
 I have a dream and it includes creating my own custom RSS feeds for
industry news related to my business and having them update dynamically
on my website.

I have garnered a basic understanding of what it takes and the tools
needed to embed an RSS feed on a webpage, it looks straightforward
(although I really don't want to tackle it myself). The thing that I
struggling with is where the content can potientally come from, does it
have to be a website or can I make a custom RSS feed from a Google news
search?

I am afraid that I might be confusing the function of an RSS feed with
a newsreader but I really can't find any information on the creation of
a feed that will confirm or deny this. In my own perfect world, I
want it to be as simple as setting Google News Alerts on my specific
topics and somehow have them dynamcially update onto my site as they
happen.

The objective is to garner more incoming links from sites like mine and
to give my customers a reason to return to my site.

Mike

Email: Mike@IslandRecreati­on.net
Website: http://www.IslandRe­creation.net
Blog: http://www.playgrou­ndhawaii.blogspot.co­m

Add comment
Jd 21 November 2004 10:11:13 permanent link ]
 Hi all,

I am currently looking at how I am going to be supplying RSS feeds from my
Xaraya (0.9.9) site. It appears that the current system only allows feeds
from a specific category, not from the site as a whole.

I want to be able to simply feed the latest site changes (regardless of
category or publication type) through the feed. is it possible? Do I need to
hack some files? Which ones?

Is there any module (current or in progress) that would allow my site to
write an rss XML document each time an article is added? If not would this
be best achieved using events and workflow?

I would like to bypass having the fairly large time lag of loading the
xaraya core to get an RSS feed. At least I think it is the Xaraya core
loading that makes for quite a wait on accessing the RSS feed.

Any help would be greatly appreciated.

Cheers,
jd
Add comment
Guest 21 November 2004 17:45:54 permanent link ]
 
Am 21.11.2004 um 08:11 schrieb JD:>
I want to be able to simply feed the latest site changes (regardless of> category or publication type) through the feed.

JD, have you tried http://yoursite.com­/index.php/articles/­?theme=rss ?

Cheers
Marten
Add comment
Jd 22 November 2004 03:05:27 permanent link ]
 Oh that's right - yes I did. DOH! The feed fails due to 'An invalid
character was found in text conent'

It appears that there is an ' (apostrophe) in the text (the word
Australia's) and that breaks the feed. I have apostrophes all through my
text, so this is an issue. I will check on Bugzilla to see if it has been
mentioned and/or addressed.

Now, having said that I have set up my site with categories as navigational
sections. For instance:

news (c1)
---racing (c2)
---product (c3)
---industry (c4)

I should be able to see all categories under news by using
/articles/c_1/?them­e=rss but I see nothing (actually it fails due to '
apostrophe issue). Other categories fail with an error in xarBLCompiler.php,
line 147, 'Read Length Must Be Greater Than 0'. All categories have content.

I am guessing that the feed only shows articles with status set to
'Frontpage', whereas I want it to show any new article added at all.

Once again any help would be appreciated.

Cheers,
John

<xaraya-uekKRN3HfbO­WcbkuUXP5jA@public.g­mane.org> wrote in message
news:mailman.2210.1­101050246.10659.xara­ya_devel-gn8pmO+6nsy­mdvSpIQae8A@public.g­mane.org>
Am 21.11.2004 um 08:11 schrieb JD:> >
I want to be able to simply feed the latest site changes (regardless of> > category or publication type) through the feed.>
Cheers> Marten>
Add comment
Chris Dudley 22 November 2004 13:16:32 permanent link ]
 JD wrote:> Oh that's right - yes I did. DOH! The feed fails due to 'An invalid> character was found in text conent'>
It appears that there is an ' (apostrophe) in the text (the word> Australia's) and that breaks the feed. I have apostrophes all through my> text, so this is an issue. I will check on Bugzilla to see if it has been> mentioned and/or addressed.>
Now, having said that I have set up my site with categories as navigational> sections. For instance:>
news (c1)> ---racing (c2)> ---product (c3)> ---industry (c4)>
I should be able to see all categories under news by using> /articles/c_1/?them­e=rss but I see nothing (actually it fails due to '> apostrophe issue). Other categories fail with an error in xarBLCompiler.php,>­ line 147, 'Read Length Must Be Greater Than 0'. All categories have content.>
I am guessing that the feed only shows articles with status set to> 'Frontpage', whereas I want it to show any new article added at all.>
Once again any help would be appreciated.>
Cheers,> John>

In my experience it isn't an apostophe that causes it to fail - e.g. '
and " are both fine.
Its the curly single quote sign that comes from using something like MS
Word to write the text which then gets converted to a special character
in HTML (somehting like &rsquo;).
Obviously thats fine at display time but it isn't valid XML.

I fixed that for our docbook source (XML) that gets parsed via XSLT into
html and pdf by just replacing all the curly quote characters with '.

Obviously that doesn't help any hew ones added but it fixed the problems
I was encountering.

miko
Add comment
Jason Judge 22 November 2004 13:21:57 permanent link ]
 
"Chris Dudley" <miko-gn8pmO+6nszQT­0dZR+AlfA@public.gma­ne.org> wrote in message
news:cnseap$jg$1@ne­wton.xaraya.com...>
In my experience it isn't an apostophe that causes it to fail - e.g. '> and " are both fine.> Its the curly single quote sign that comes from using something like MS> Word to write the text which then gets converted to a special character> in HTML (somehting like &rsquo;).> Obviously thats fine at display time but it isn't valid XML.

Looks like valid XML to me ;-)­ It may not be a valid entity for an RSS
stream though.

John - could you post the section of the feed that is failing (using "View
Source" in your browser)?

-- JJ
Add comment
Jason Judge 23 November 2004 04:14:45 permanent link ]
 Wierd. I've seen this happen when 8-bit extended ASCII is pumped out through
a UTF-8 RSS feed, where the extended ASCII characters are near the end of
the strings, and kind of 'consume' the characters that follow it (i.e.
consume closing tags or quotes, thinking that they are part of a multi-byte
UTF-8 character).

Out of interest, what character set is showing in the RSS feed header, and
what character set is defined for your site (assuming these stories are
entered into the site through the standard forms).

-- JJ


"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message
news:cnu260$9hi$1@n­ewton.xaraya.com...>­ Oops, of course the characters won't show here - i will try and find the> correct entity types to explain. In the mean time I have gone into the> document and altered the offender to be a standard ' (not a curly one, not
back slanted one etc...) and it fixed that issue . of course it then
failed> on a hyphen - character.>
Oh Dear.>
Cheers,> jd>
"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message> news:cnu1ne$912$1@n­ewton.xaraya.com...>­ > Well I am a little mystified. IE6 fails to show the document with the> error> > I described - and of course won't give me the source because of it. I> tried> > IE5.5 and it shows the doc. Firefox shows the doc too. It may only be an> IE6> > issue.> >
I have copied the offending xml code into this message:> >
<content:encoded><!­[CDATA[ This Friday (10th September) the doors opened> on> > Australia's largest motorcycle expo. ]]></content:enc­oded>> >
It shows as a ( ' ) character in this email - source form Firefox, but
actually a ( ')character in the IE 5.5 version.> >
I don't use MSWord to write the text, and if I receive text in MSWord or> > other MS types I process it to get rid of strange entities etc... It> doesn't> > mean that one hasn't got away from me though.> >
I love XML (no really).> >
Cheers,> > jd> >
"Jason Judge" <judgej-gn8pmO+6nsz­QT0dZR+AlfA@public.g­mane.org> wrote in message> > news:cnsein$o6$1@ne­wton.xaraya.com...> > >
John - could you post the section of the feed that is failing (using> "View> > > Source" in your browser)?> > >
-- JJ> > >
Add comment
Jd 23 November 2004 04:17:11 permanent link ]
 Well I am a little mystified. IE6 fails to show the document with the error
I described - and of course won't give me the source because of it. I tried
IE5.5 and it shows the doc. Firefox shows the doc too. It may only be an IE6
issue.

I have copied the offending xml code into this message:

<content:encoded><!­[CDATA[ This Friday (10th September) the doors opened on
Australia's largest motorcycle expo. ]]></content:enc­oded>

It shows as a ( ' ) character in this email - source form Firefox, but it is
actually a ( ')character in the IE 5.5 version.

I don't use MSWord to write the text, and if I receive text in MSWord or
other MS types I process it to get rid of strange entities etc... It doesn't
mean that one hasn't got away from me though.

I love XML (no really).

Cheers,
jd


"Jason Judge" <judgej-gn8pmO+6nsz­QT0dZR+AlfA@public.g­mane.org> wrote in message
news:cnsein$o6$1@ne­wton.xaraya.com...>
John - could you post the section of the feed that is failing (using "View> Source" in your browser)?>
-- JJ>
Add comment
Jd 23 November 2004 04:24:57 permanent link ]
 Oops, of course the characters won't show here - i will try and find the
correct entity types to explain. In the mean time I have gone into the
document and altered the offender to be a standard ' (not a curly one, not a
back slanted one etc...) and it fixed that issue . of course it then failed
on a hyphen - character.

Oh Dear.

Cheers,
jd

"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message
news:cnu1ne$912$1@n­ewton.xaraya.com...>­ Well I am a little mystified. IE6 fails to show the document with the
error> I described - and of course won't give me the source because of it. I
tried> IE5.5 and it shows the doc. Firefox shows the doc too. It may only be an
issue.>
I have copied the offending xml code into this message:>
<content:encoded><!­[CDATA[ This Friday (10th September) the doors opened
Australia's largest motorcycle expo. ]]></content:enc­oded>>
It shows as a ( ' ) character in this email - source form Firefox, but it
actually a ( ')character in the IE 5.5 version.>
I don't use MSWord to write the text, and if I receive text in MSWord or> other MS types I process it to get rid of strange entities etc... It
doesn't> mean that one hasn't got away from me though.>
I love XML (no really).>
Cheers,> jd>
"Jason Judge" <judgej-gn8pmO+6nsz­QT0dZR+AlfA@public.g­mane.org> wrote in message> news:cnsein$o6$1@ne­wton.xaraya.com...> >
John - could you post the section of the feed that is failing (using
"View> > Source" in your browser)?> >
-- JJ> >
Add comment
Jd 23 November 2004 04:55:56 permanent link ]
 UTF-8 for the feed.

Ahhh, interesting Site Default Locale - en_US.iso-8859-1

Hmmmm. These storeis are entered through the standard forms (Dynamic Data in
a lot of cases).

Will changing the site setting to en_US.utf-8 mean that any story with those
characters will break the site? If not then I can always go ahead and change
it in there and see if it makes a difference.

Cheers,
jd


"Jason Judge" <judgej-gn8pmO+6nsz­QT0dZR+AlfA@public.g­mane.org> wrote in message
news:cnu2sl$a9e$1@n­ewton.xaraya.com...>­ Wierd. I've seen this happen when 8-bit extended ASCII is pumped out
through> a UTF-8 RSS feed, where the extended ASCII characters are near the end of> the strings, and kind of 'consume' the characters that follow it (i.e.> consume closing tags or quotes, thinking that they are part of a
multi-byte> UTF-8 character).>
Out of interest, what character set is showing in the RSS feed header, and> what character set is defined for your site (assuming these stories are> entered into the site through the standard forms).>
-- JJ>
"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message> news:cnu260$9hi$1@n­ewton.xaraya.com...>­ > Oops, of course the characters won't show here - i will try and find the> > correct entity types to explain. In the mean time I have gone into the> > document and altered the offender to be a standard ' (not a curly one,
back slanted one etc...) and it fixed that issue . of course it then> failed> > on a hyphen - character.> >
Oh Dear.> >
Cheers,> > jd> >
"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message> > news:cnu1ne$912$1@n­ewton.xaraya.com...>­ > > Well I am a little mystified. IE6 fails to show the document with the> > error> > > I described - and of course won't give me the source because of it. I> > tried> > > IE5.5 and it shows the doc. Firefox shows the doc too. It may only be
issue.> > >
I have copied the offending xml code into this message:> > >
<content:encoded><!­[CDATA[ This Friday (10th September) the doors
opened> > on> > > Australia's largest motorcycle expo. ]]></content:enc­oded>> > >
It shows as a ( ' ) character in this email - source form Firefox, but> it> > is> > > actually a ( ')character in the IE 5.5 version.> > >
I don't use MSWord to write the text, and if I receive text in MSWord
other MS types I process it to get rid of strange entities etc... It> > doesn't> > > mean that one hasn't got away from me though.> > >
I love XML (no really).> > >
Cheers,> > > jd> > >
"Jason Judge" <judgej-gn8pmO+6nsz­QT0dZR+AlfA@public.g­mane.org> wrote in message> > > news:cnsein$o6$1@ne­wton.xaraya.com...> > > >
John - could you post the section of the feed that is failing (using> > "View> > > > Source" in your browser)?> > > >
-- JJ> > > >
Add comment
Jason Judge 23 November 2004 05:21:32 permanent link ]
 
"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message
news:cnu403$aur$1@n­ewton.xaraya.com...>­ UTF-8 for the feed.>
Ahhh, interesting Site Default Locale - en_US.iso-8859-1>
Hmmmm. These storeis are entered through the standard forms (Dynamic Data
a lot of cases).>
Will changing the site setting to en_US.utf-8 mean that any story with
those> characters will break the site? If not then I can always go ahead and
change> it in there and see if it makes a difference.

I suspect that is the problem. The RSS reader is expecting to see UTF-8
characters, where a curly apostrophy or full-size hyphon consists of two or
more bytes > chr 128. The site setting of 8859-1 means those same characters
are actually encoded as single bytes > chr 128. Since the byte that follows
them is ASCII (i.e. < chr 128) then the browser is assuming there is an
error in the datastream. It has effectively received an invalid UTF-8
character.

How a browser or reader handles that is up to that browser or reader. It
could make a guess, ignore the character altogether, or raise an error.

Could the feed characterset be changed to iso-8859-1? That should work.

Alternatively, the site could be changed to UTF-8. Yes, it would mean the
existing stories would then be filled with invalid characters. Some people
have had some success exporting those tables to a text file, converting the
characterset using EditPlus2 or some other such editor, then reloading the
tables. Do that with care though, as it can also introduce errors if the
wrong thing is converted or some fields end up too large for their columns.

-- JJ
Add comment
Jason Judge 23 November 2004 05:54:42 permanent link ]
 
"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message
news:cnu7ka$eav$1@n­ewton.xaraya.com...>­ ...> Do you have any clues as to what I might need to hack to get the feed> throwing out all articles, not just hose set as frontpage? I will dive in> and find out, I just thought you may already have an idea.

No, sorry, not without diving in myself.

-- JJ
Add comment
Jd 23 November 2004 05:57:56 permanent link ]
 Thanks for the infop Jason it is most helpful. I will do some searches
against our data to see just how prevalent this issue is.

I have no issue changing the feed character set - I'll check that out and
see what happens.

Do you have any clues as to what I might need to hack to get the feed
throwing out all articles, not just hose set as frontpage? I will dive in
and find out, I just thought you may already have an idea.

Cheers,
jd

"Jason Judge" <judgej-gn8pmO+6nsz­QT0dZR+AlfA@public.g­mane.org> wrote in message
news:cnu6pr$dc7$1@n­ewton.xaraya.com...>­
"JD" <jd-O3YU8AaJcQW9dsP­5Zq5rXgC/G2K4zDHf@pu­blic.gmane.org> wrote in message> news:cnu403$aur$1@n­ewton.xaraya.com...>­ > UTF-8 for the feed.> >
Ahhh, interesting Site Default Locale - en_US.iso-8859-1> >
Hmmmm. These storeis are entered through the standard forms (Dynamic
Data> in> > a lot of cases).> >
Will changing the site setting to en_US.utf-8 mean that any story with> those> > characters will break the site? If not then I can always go ahead and> change> > it in there and see if it makes a difference.>
I suspect that is the problem. The RSS reader is expecting to see UTF-8> characters, where a curly apostrophy or full-size hyphon consists of two
more bytes > chr 128. The site setting of 8859-1 means those same
characters> are actually encoded as single bytes > chr 128. Since the byte that
follows> them is ASCII (i.e. < chr 128) then the browser is assuming there is an> error in the datastream. It has effectively received an invalid UTF-8> character.>
How a browser or reader handles that is up to that browser or reader. It> could make a guess, ignore the character altogether, or raise an error.>
Could the feed characterset be changed to iso-8859-1? That should work.>
Alternatively, the site could be changed to UTF-8. Yes, it would mean the> existing stories would then be filled with invalid characters. Some people> have had some success exporting those tables to a text file, converting
characterset using EditPlus2 or some other such editor, then reloading the> tables. Do that with care though, as it can also introduce errors if the> wrong thing is converted or some fields end up too large for their
columns.>
-- JJ>
Add comment
John Bokma 20 February 2005 23:47:47 permanent link ]
 troar wrote:
(although I really don't want to tackle it myself). The thing that I> struggling with is where the content can potientally come from, does> it have to be a website or can I make a custom RSS feed from a Google> news search?

Content can come from everywhere, but normally a feed item links to a
page.
I am afraid that I might be confusing the function of an RSS feed with> a newsreader but I really can't find any information on the creation> of a feed that will confirm or deny this.

A feed is just a list of items with links.
In my own perfect world, I> want it to be as simple as setting Google News Alerts on my specific> topics and somehow have them dynamcially update onto my site as they> happen.

I think you somehow don't grasp what a newsfeed (RSS feed) is then. An
item in a feed is something like:

title: Foo Bar
summary: Foo Bar opened
link: http://www.example.­com/

Yes, you can add the summary + link to your site too, or even make a
bigger summary on your site, and link the feed to the bigger summary,
and link the bigger summaray to the actual article.
The objective is to garner more incoming links from sites like mine> and to give my customers a reason to return to my site.

Write original content. If I want to read Google news, I go there. Just
cloning news probably gets you some visitors. But if you add your own
point of view to it you get returning visitors. Your idea sounds like
content stealing. Visitors come for additional value.

Why would I link to your copy of news if I can link to the original?

--
John Perl SEO tools: http://johnbokma.co­m/perl/
Experienced (web) developer: http://castleamber.­com/
Get a SEO report of your site for just 100 USD:
http://johnbokma.co­m/websitedesign/seo-­expert-help.html

Add comment
Troar 21 February 2005 05:26:59 permanent link ]
 Thanks John,

You are right.. I don't think I truly understood what a RSS feed was.
Why would they link to it? I suppose people in the industry I work in
are notoriously non-techical. They have websites created and
maintained by others but they want content. Even the basic things such
as Google News Alerts seem to be over the top for them. Until you
straightened me out, I thought I could create a section that industry
news articles that would dynamically update instead of links that would
be feed into my site.

Appreciate the information very much,

Add comment
Davidof 21 February 2005 12:11:09 permanent link ]
 troar wrote:> I really can't find any information on the creation of> a feed that will confirm or deny this.

This may help:

http://www.abcseo.c­om/seo-book/newsfeed­s.htm
Add comment
John Bokma 21 February 2005 20:38:03 permanent link ]
 troar wrote:
Thanks John,>
You are right.. I don't think I truly understood what a RSS feed was.

It's just a list of links, snippet:

<item rdf:about="http://j­ohnbokma.com/mexit/2­005/01/27/">
<title>Another scorpion found on the roof</title>
<link>http://johnbo­kma.com/mexit/2005/0­1/27/</link>
<description>We found another scorpion,
a female this time.</description>­
<dc:date>2005-02-17­T06:55Z</dc:date>
</item>
Why would they link to it?

Feeds are normally read with a feedreader (I don't like to call it
newsreader).
I suppose people in the industry I work in> are notoriously non-techical. They have websites created and> maintained by others but they want content. Even the basic things
such> as Google News Alerts seem to be over the top for them. Until you> straightened me out, I thought I could create a section that industry> news articles that would dynamically update instead of links that
would> be feed into my site.

A very good way to go is read related feeds (I use Firefox to do this,
since it can show the titles of the feeds:
http://johnbokma.co­m/firefox/rss-and-li­ve-bookmarks.html ) and comment
on the news in a blog.

If you add useful extra information in your blog, i.e. make good
comments, you enhance the news, and people will read your blog, link to
it, etc. To keep them coming back to your blog you might consider adding
a entry to an RSS file like above: a permalink to the blog entry, the
title of the entry, and a short teaser (summary) what the entry is
about. I have several people reading my rss file, but it's insignificant
compared to the hits my blog entries get via search engines.

So my conclusion: start a blog and see the RSS thingy as something
extra.

--
John Perl SEO tools: http://johnbokma.co­m/perl/
Experienced (web) developer: http://castleamber.­com/
Get a SEO report of your site for just 100 USD:
http://johnbokma.co­m/websitedesign/seo-­expert-help.html
Add comment
Ryan Mannion 1 June 2005 22:55:02 permanent link ]
 I've never done RSS Feeds before. Can someone please provide brief
details about RSS Feeds. I'll be running this on CF 5.0.

I'll basically be displaying RSS Feeds from a few different sources,
NY Times etc.

Also can I control how many are displayed per feed? For example I want
3 from NY times, 2 from Wash Post etc etc..

If anyone has an simple tutorials they've found helpful.


Thanks in advance.

Ryan

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:208268
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Larry Lyons 2 June 2005 00:17:40 permanent link ]
 
I've never done RSS Feeds before. Can someone please provide brief>details about RSS Feeds. I'll be running this on CF 5.0.>
I'll basically be displaying RSS Feeds from a few different sources,>NY Times etc.>
Also can I control how many are displayed per feed? For example I want>3 from NY times, 2 from Wash Post etc etc..>
If anyone has an simple tutorials they've found helpful. >
Thanks in advance. >
Ryan

Ryan,

If you're just consuming the RSS feeds, you might want to try this UDF:
http://www.cflib.or­g/udf.cfm?ID=813
TranslateRSSItems(r­ssDoc)
Description
Takes a RSS feed from Blogger, Slashdot, ZDNet, etc and translates into a CF query. Based on the function TranslateMacromedia­ResourceFeed by Jeffry Houser (jeff-4PqcVPAHpj3ql­Bn2x/YWAg@public.gma­ne.org).

Returns a query.

Example

<cfhttp url="http://pro.blo­gger.com/docs/exampl­e_rss.xml"
method="GET"
resolveurl="true"
timeout="6000">
<cfif cfhttp.fileContent is not "Connection Failure">
<cfset rssFeed = TranslateRSSItems(c­fhttp.FileContent)>
<cfloop query="rssFeed">
<!-- only output at most 5 rows --->
<cfif currentRow lte 5>
<cfoutput>
<p><a href="#link#">#titl­e#</a><br>#descripti­on#</p>
</cfoutput>
<cfelse>
<cfbreak>
</cfif>
</cfloop>
</cfif>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:208278
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Ian Vaughan 2 June 2005 12:51:49 permanent link ]
 Hi

Does anybody on the list know for any more articles on

1.) Creating your own RSS feeds using Coldfusion

And

2.) Displaying RSS feeds from external sources i.e. BBC, I tried the UDF
in the last post but all I was receiving was a blank page ?

I have also tried using another approach based on the article by Pablo
Varando http://tutorial208.­easycfm.com/ but am receiving the following
error

An error occured while Parsing an XML document.
Content is not allowed in prolog.

The error occurred in \testpages\rss.cfm:­ line 20

18 : <cfscript>
19 : XMLContent = trim(cfhttp.filecon­tent);
20 : XMLContent = XMLParse(XMLContent­);
21 : </cfscript>
22 :



-----Original Message-----
From: Larry Lyons [mailto:larryclyons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: 01 June 2005 21:18
To: CF-Talk
Subject: RSS Feeds
I've never done RSS Feeds before. Can someone please provide brief >details about RSS Feeds. I'll be running this on CF 5.0.>
I'll basically be displaying RSS Feeds from a few different sources, NY
Times etc.>
Also can I control how many are displayed per feed? For example I want>3 from NY times, 2 from Wash Post etc etc..>
If anyone has an simple tutorials they've found helpful. >
Thanks in advance. >
Ryan

Ryan,

If you're just consuming the RSS feeds, you might want to try this UDF:
http://www.cflib.or­g/udf.cfm?ID=813
TranslateRSSItems(r­ssDoc)
Description
Takes a RSS feed from Blogger, Slashdot, ZDNet, etc and translates into
a CF query. Based on the function TranslateMacromedia­ResourceFeed by
Jeffry Houser (jeff-4PqcVPAHpj3ql­Bn2x/YWAg@public.gma­ne.org).

Returns a query.

Example

<cfhttp url="http://pro.blo­gger.com/docs/exampl­e_rss.xml"
method="GET"
resolveurl="true"
timeout="6000">
<cfif cfhttp.fileContent is not "Connection Failure">
<cfset rssFeed = TranslateRSSItems(c­fhttp.FileContent)>
<cfloop query="rssFeed">
<!-- only output at most 5 rows --->
<cfif currentRow lte 5>
<cfoutput>
<p><a href="#link#">#titl­e#</a><br>#descripti­on#</p>
</cfoutput>
<cfelse>
<cfbreak>
</cfif>
</cfloop>
</cfif>



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:208328
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Scott Stewart 14 November 2005 23:14:31 permanent link ]
 All,

I have an application that generates an XML file for an RSS Feed. Does each
XML record require each field to be populated?

If this is my feed XML

<?xml version="1.0" standalone="no"?>
<rss version="2.0">
<channel>
<item>
<title>Title</title­>
<category>Category<­/category>
<link>http://www.fi­rst.fda.com</link>
<description>Summar­y</description>
<language>en-us</la­nguage>
<lastBuildDate>#the­Datetime#</lastBuild­Date>
</item>
</channel>
</rss>
</xml>

Does each field have to be populated?

Thanks

sas

Scott A. Stewart
ColdFusion Developer

GNSI
11820 Parklawn Dr
Rockville, MD 20852
(301) 770-9610




~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Flash for programmers - Flash MX Pro
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=56

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:5:181875
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/5
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:5
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13124.11887.5
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment


James Smith 15 November 2005 14:46:06 permanent link ]
 There is a pretty good guide here.
http://blogs.law.ha­rvard.edu/tech/rss

The required elements must be there but I believe they can be empty, the
optional ones you can just leave out.

--
Jay
-----Original Message-----> From: Scott Stewart [mailto:sstewart@gnsi.com] > Sent: 14 November 2005 20:15> To: CF-Community> Subject: RSS Feeds>
All, >
I have an application that generates an XML file for an RSS > Feed. Does each XML record require each field to be populated?>
If this is my feed XML>
<?xml version="1.0" standalone="no"?>> <rss version="2.0">> <channel>> <item>> <title>Title</title­>> <category>Category<­/category>> <link>http://www.fi­rst.fda.com</link> > <description>Summar­y</description>> <language>en-us</la­nguage>> <lastBuildDate>#the­Datetime#</lastBuild­Date>> </item>> </channel>> </rss>> </xml>>
Does each field have to be populated?>
Thanks>
Scott A. Stewart> ColdFusion Developer>
GNSI> 11820 Parklawn Dr> Rockville, MD 20852> (301) 770-9610 >

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Purchase Studio MX with Flash Pro from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=51

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:5:181961
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/5
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:5
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13124.11887.5
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Mike 20 December 2005 04:17:58 permanent link ]
 hello, im looking for a program (php or something simaler) to install on my
server that will decode RSS feeds so that they appear normally on my site.

For instance : http://news.google.­com/?output=rss is a free RSS feed from
google that updates all the time.

I would like to install a server based program that can decode and display
the feeds normally.

Is there a particular RSS program that is more popular then others? i would
like to have the most common and basic program installed.

any info would be great.

thx

MB


Add comment


Roy Schestowitz 20 December 2005 04:44:05 permanent link ]
 __/ [mike] on Tuesday 20 December 2005 01:17 \__
hello, im looking for a program (php or something simaler) to install on my> server that will decode RSS feeds so that they appear normally on my site.>
For instance : http://news.google.­com/?output=rss is a free RSS feed from> google that updates all the time.>
I would like to install a server based program that can decode and display> the feeds normally.>
Is there a particular RSS program that is more popular then others? i would> like to have the most common and basic program installed.>
any info would be great.>
MB


What you are probably looking for are blog aggregators and the likes of them,
e.g.

http://www.planetpl­anet.org/

Just follow the link trail as the tools (namely parsers) should be free.

Also see:

http://rsstoblog.co­m/

Be warned as it is often used for scraping, i.e. plagiarism. It's very
notorious.

Hope it helps,

Roy

--
Roy S. Schestowitz | "Oops. My brain just hit a bad sector"
http://Schestowitz.­com | SuSE Linux | PGP-Key: 0x74572E8E
1:40am up 9 days 8:51, 14 users, load average: 0.56, 0.64, 0.71
http://iuron.com - next generation of search paradigms
Add comment
Mike 20 December 2005 04:55:26 permanent link ]
 I need something thats mainstream, uses PHP, and is installed on the server.
the 2nd link you provided looks like a desktop type application.



Add comment


Roy Schestowitz 20 December 2005 06:51:07 permanent link ]
 __/ [mike] on Tuesday 20 December 2005 01:55 \__
I need something thats mainstream, uses PHP, and is installed on the> server. the 2nd link you provided looks like a desktop type application.

There you go...

http://freshmeat.ne­t/projects/rss2html/­

Please quote when replying. Your message floats without any context and will
allude to nothing, which might confuse readers.

Best wishes,

Roy

--
Roy S. Schestowitz | Useless fact: 111111 X 111111 = 12345654321
http://Schestowitz.­com | SuSE Linux | PGP-Key: 0x74572E8E
3:45am up 9 days 10:56, 13 users, load average: 0.12, 0.37, 0.53
http://iuron.com - next generation of search paradigms
Add comment
Mark Parnell 20 December 2005 06:57:12 permanent link ]
 Deciding to do something for the good of humanity, Roy Schestowitz
<newsgroups@schesto­witz.com> spouted in alt.html:
Useless fact: 111111 X 111111 = 12345654321

12345679 x 8 = 98765432 :-)­

--
Mark Parnell
===================­====================­==============
Att. Google Groups users - this is your last warning:
http://www.safalra.­com/special/googlegr­oupsreply/
Add comment
Rg 2 April 2006 07:18:51 permanent link ]
 What bearing RSS feeds have on google pr's? How do you submit to these
feeds?

Thanks in advance


Add comment
Brad Blanchard 2 April 2006 20:27:10 permanent link ]
 Rg wrote:
What bearing RSS feeds have on google pr's?

Dunno. I'd like some information on that topic myself.
How do you submit to these feeds?

Here's one way. There may be others:

http://www.rss-spec­ifications.com/rss-s­ubmission.htm

--
Brad Blanchard
Learn Spanish
Website http://www.braser.c­om/
Email accepted from the website

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Search Engine Optimization > RSS Feeds 2 April 2006 20:27:10

see also:
Jetty-5.1.10 problem with log4j
Cannot print PDF after filling out…
[perl #40299] [PATCH] Added readdir()…
пройди тесты:
see also:
THE DAYS I’LL ALWAYS CHERISH AND KEEP…
THIS IS ONE MAIL THAT BRINGS TEARS TO…
LOVE KNOWS NO BOUNDS-I SACRIFICED…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .