Pages: [1]
Print
Author Topic: RSS feed, questions  (Read 1015 times)
Tonkow
Newbie
*
Posts: 33


www.tonkow.se/eng

msn@tonkow.se
View Profile WWW Email
« on: March 19, 2009, 11:40:38 AM »

Hello!

Hello!

I have some questions about the RSS feeds.

1. The RSS can not read Å Ä Ö, ie swedish letters, which is very sad for me because it looks right Fucked up if you read it. Letters are missing then, and you can not read them at all in Internet Explorer 7. It says that it is an error. So what unicode, or what units should I use? I have   <? xml version = "1.0" encoding = "UTF-8"?>. But as I said it does not support the Swedish letters.

2. How do I view images in RSS?
Is it just to put this text in the channel tag?
<image>
   <url> http://localhost/dev/ </ url>
   <title> Blog Title </ title>
   <link> http://localhost/dev/ </ link>
   </ image>

Grateful for answers
Tonkow
Logged

Mind the gap
Matt
BP Blog Developer/Musician
Administrator
Newbie
*****
Posts: 36



View Profile WWW Email
« Reply #1 on: March 19, 2009, 02:35:18 PM »

Hey,

Firstly, it looks like your urls aren't set up correctly on the configuration screen.  Make sure you have your site url correct.  It shouldn't be localhost.

Secondly, to fix your feed here's what I would do.  Sign up for http://feedburner.com and register your feed.  Then do a global search and replace on your template files and inc_sidebar.asp and replace "rss.xml" with your feedburder feed url.

This should fix things.
« Last Edit: March 19, 2009, 02:47:04 PM by Matt » Logged

Tonkow
Newbie
*
Posts: 33


www.tonkow.se/eng

msn@tonkow.se
View Profile WWW Email
« Reply #2 on: March 19, 2009, 05:16:38 PM »

Well, I tried but It didn't work at all Sad
No picture and no Å Ä Ö
http://feeds2.feedburner.com/Tonkowse
http://www.tonkow.se/rss.xml
Logged

Mind the gap
Matt
BP Blog Developer/Musician
Administrator
Newbie
*****
Posts: 36



View Profile WWW Email
« Reply #3 on: March 19, 2009, 05:59:59 PM »

OK - let me check on this.  Getting the pics to display will require altering the rss generation but it's not big deal to do so.  I'll put that solution here later on tonight and you can edit your file in notepad to fix it.

I have to do more research concerning the Swedish characters though.
Logged

Matt
BP Blog Developer/Musician
Administrator
Newbie
*****
Posts: 36



View Profile WWW Email
« Reply #4 on: March 19, 2009, 07:10:15 PM »

Try this to make your entire post show in the rss.xml file (rather than a truncated one that is the default) - on rss.asp - change this:

Code:
fFile.WriteLine (" <description>" & (CropSentence(CI_StripHTML(artRec.Fields.Item("BlogHTML").Value), 250, "...")) & "</description>")

To this:
Code:
fFile.WriteLine (" <description><![CDATA[" & artRec.Fields.Item("BlogHTML").Value & "]]></description>")

Code is now fixed!
« Last Edit: March 22, 2009, 03:08:08 PM by Matt » Logged

Tonkow
Newbie
*
Posts: 33


www.tonkow.se/eng

msn@tonkow.se
View Profile WWW Email
« Reply #5 on: March 22, 2009, 06:44:31 AM »

All I got was some error msgs
Logged

Mind the gap
Matt
BP Blog Developer/Musician
Administrator
Newbie
*****
Posts: 36



View Profile WWW Email
« Reply #6 on: March 22, 2009, 03:08:48 PM »

All I got was some error msgs

Sorry - I fixed/tested it now and my post above has the fix and a download.
Logged

Tonkow
Newbie
*
Posts: 33


www.tonkow.se/eng

msn@tonkow.se
View Profile WWW Email
« Reply #7 on: March 23, 2009, 04:17:48 AM »

It seems that works fine... =)

I think I have solved the letterthing.

My TSI is 1053 (sweden), orginaly it is 1033 (american).
Maybe that thing fucks up the <pub date> in the rss.xml?

If not, how do I change so I write the pub date in the rss file to englsih dates?
Logged

Mind the gap
Pages: [1]
Print
Jump to: