Atom feeds

What do you want to see here? Some more categories, forums, and mods? Hmm...
Post Reply
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Atom feeds

Post by dlh »

Another request:

Board Configuration » Feed settings » Enable feeds: Change to Enabled
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Re: Atom feeds

Post by Tank Program »

That's done, but I'm not sure how it will show up...
Image
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: Atom feeds

Post by sinewav »

What would the feed URL be? I want this.
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Atom feeds

Post by dlh »

This site uses a custom template, so I think you need to update it. Add this to overall_header.html (in the <head> section):

Code: Select all

<!-- IF S_ENABLE_FEEDS -->
	<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->
The feeds are currently accessible (there's a few others), but your browser or feed reader won't be able to auto-discover them. Also, could you up “Topic-based feed settings » Number of items” to 15, and turn “General feed settings » Allow HTTP Authentication” to enabled?
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Re: Atom feeds

Post by Tank Program »

The topic feed setting is at 15, but per-topic feeds are disabled for the moment. I do not plan on activating http authentication, I think that's a bit risky security wise. I will update the template when I have the chance and remember.
Image
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Atom feeds

Post by dukevin »

On an unrelated note, I use a firefox extension Sitedelta which tracks changes to pages
https://addons.mozilla.org/en-US/firefo ... sitedelta/
It's originally in german: http://sitedelta.schierla.de/features.en.php

But it's a really handy feature for pages without RSS feeds.
You can make it watch certain DIV elements to watch only part of a page.
As for me, I make it watch ego search.
Image
Post Reply