vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   RSS autodiscovery (https://vborg.vbsupport.ru/showthread.php?t=89711)

58sniper 08-26-2004 10:00 PM

RSS autodiscovery
 
This mod will trigger autodiscovery in news aggregators that support autodiscovery (most do). What does this mean?

Let's say you have a news aggregator, like Newz Crawler installed. If you visit a site with this 'mod' installed, Newz Crawler automatically discovers your RSS feed and will allow you to simply add it as a news source.

Here's how to install it:

In AdminCP, in the headinclude, find (usually about 3-4 lines from the top):
Code:

<meta name="description" content="$vboptions[description]" />
add the following below:
Code:

<if condition="$vboptions[externalrss]">
<link rel="alternate" href="$vboptions[bburl]/external.php?type=RSS2" title="$vboptions[bbtitle] RSS Feed" type="application/rss+xml" />
</if>

That's it. Simple.

Let me know if you have any questions.

Demo - turn on your autodiscovering news reader before visiting http://www.efhs84.com/

update - changed feed type to RSS2.

Chris Gwynne 08-29-2004 07:32 PM

The RSS isn't on by default, so you might want to come up with an IF statement for the above code.

58sniper 08-29-2004 08:13 PM

Done - code updated

Also, I've noticed that if you use Opera, and have the navigation toolbar turned on, this mod will cause the "newsfeed" button to light up.

58sniper 08-30-2004 02:54 AM

Someone asked how this will work with the RSS Output Mod & Icon hack. All I can say is that my mod only supplies the full RSS feed, which is the same feed as that described in the FORUMHOME part of the RSS Output Mod hack. It will NOT interfere with that hack. Two different results using two different methods. Mine merely triggers autodiscovery.

58sniper 08-30-2004 02:13 PM

Here are a couple of screen shots. The first is the autodiscovery popup from Newz Crawler when going to a site with this mod installed.

The second is a shot of the Opera Navigation toolbar when visiting the same site. Notice that the "newsfeed" button is no longer greyed out.

58sniper 08-30-2004 05:12 PM

Also, for what it's worth, if your users are using some news aggregators that continuosly check their feeds, new posts on your site will automatically notify the user. Note the screen shot below, which occured a couple of minutes after that post was made to the site.

ChessMess 08-31-2004 08:25 PM

How might one create a 'Syndication' page that contains all the desired rss links (since my forum has many) so that if you visited this page it will auto-discover all feeds?

Also Auto-Discovery with the mod that allows sub-forums and boards to have thier own news feeds would be idea.

58sniper 08-31-2004 09:00 PM

Interesting idea. You can have multiple link tags that point to RSS files. But your autodiscovery idea (for subforums) would require more queries.

The "Syndication" page is "doable".... Let me think on that one. Interesting idea.

Note: Please click INSTALL if you're using this. Also, I added another hack that uses link tags to enable some Opera features. Check it out at http://www.vbulletintemplates.com/mo...ead.php?t=7003

ChessMess 09-12-2004 08:39 AM

Any progress?

58sniper 09-14-2004 08:46 PM

I've just determined that this hack also causes the RSS button in Firefox 1.0 to become visible. You can then click on it to view the feed. See attached screenshot.

No progress on the other request, and I'm not sure I'll be able to pull it off easily.


All times are GMT. The time now is 05:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01009 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete