Welcome to Geeklog, Anonymous Friday, November 22 2024 @ 10:58 pm EST

Geeklog Forums

How to manually create a rss feed ?


Netora

Anonymous
How to manually create a rss feed ?

How to make a link to this so that its automatically or ( in what other way, please suggest ) picked up by browsers such as opera that has "feeds" button ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Netora: How to manually create a rss feed ?

A feed for what?


Quote by Netora: How to make a link to this so that its automatically or ( in what other way, please suggest ) picked up by browsers such as opera that has "feeds" button ?

In the header.thtml of your theme, add this line:
Text Formatted Code
<link rel="alternate" type="application/rss+xml" href="{rss_url}" title="RSS feed">
 

This would add your default feed (the one specified in config.php). If you want a different feed there, replace the {rss_url} with the proper URL.

bye, Dirk
 Quote

Status: offline

THEMike

Forum User
Moderator
Registered: 07/25/03
Posts: 141
Location:Sheffield, UK
OR add this to the header:
{feed_url}
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by THEMike: OR add this to the header:
{feed_url}

... but only if you're running 1.3.12 from CVS Wink

bye, Dirk
 Quote

All times are EST. The time is now 10:58 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content