Forum > Discussion Forum
Can you enable your RSS feed?
Gecko_R7:
--- Quote from: John37309 on 22 Mar 2009, 10:45:26 am ---
3. Edit the index.template.php file and find a line of code that is similar to this;
--- Quote ---<title>', $context['page_title'], '</title>
--- End quote ---
That line is about line 79 of the index.template.php . Just after that, add the following code;
--- Quote ---<link href="http://lunatics.kwsn.net/index.php?action=.xml;type=rss2;sa=news;limit=15;board=15" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
--- End quote ---
John.
--- End quote ---
I actually found this & have access to the index.template.php.
BTW...the rss I designated is "RSS", not RSS 2.0 in the previous set-up.
What is the major difference, or will work for most users?
arkayn:
From what I can tell, it looks like it is working just fine.
Once I changed the FF applications in preferences for web feed to FF instead of it opening in iTunes.
John37309:
--- Quote from: Gecko_R7 on 22 Mar 2009, 05:05:40 pm ---
--- Quote from: John37309 on 22 Mar 2009, 10:45:26 am ---
3. Edit the index.template.php file and find a line of code that is similar to this;
--- Quote ---<title>', $context['page_title'], '</title>
--- End quote ---
That line is about line 79 of the index.template.php . Just after that, add the following code;
--- Quote ---<link href="http://lunatics.kwsn.net/index.php?action=.xml;type=rss2;sa=news;limit=15;board=15" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
--- End quote ---
John.
--- End quote ---
I actually found this & have access to the index.template.php.
BTW...the rss I designated is "RSS", not RSS 2.0 in the previous set-up.
What is the major difference, or will work for most users?
--- End quote ---
If you have edited the index.template.php and added the browser auto detect code, i'm not seeing it or my browser is not picking it up in FF or IE!
Also, i don't know what "Block tags" are. But either way, if you are writing the announcement message on the front page in html, you need to add this to the <img> tag;
border="0"
You need border zero to remove the border from the rss image. I see a blue border.
The rss feed is fine.
John.
Gecko_R7:
Here's the current entry in block contents
<h3><a href="index.php?action=.xml;type=rss;sa=news;limit=15;board=15"> RSS Feed for New Optimized Applications Release News[/url] - Receive the latest release notifications as they happen!</h3>
The border="0" needs to fit where?
John37309:
Now for the next thing to improve the rss feed!
If you read the news content of the rss feed, the news is cut very short, the rss software chops the length of each news item to 255 charictors, or about 30 to 40 words. But you can change this in the forum admin panel.
If you read the very start of the SMF explaination message - http://www.simplemachines.org/community/index.php?topic=25009.0 , one of the first things it says;
"The "Maximum post length" value determines how many characters of a post are output in the feeds. The default value is (255)"
So in the admin panel you should change this value to something much higher, maybe 1500 characters or 2000 characters might be better to output the majority of the news announcement to the rss feed. You need to play with how many characters looks best.
The SMF message says you can ajust the setting like this;
Admin -> News and Newsletters -> Settings
The "Maximum post length" value determines how many characters of a post are output in the feeds!
Try change this!
John.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version