Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications

Reply
 
Thread Tools
RSS autodiscovery Details »»
RSS autodiscovery
Version: 1.00, by 58sniper 58sniper is offline
Developer Last Online: Jan 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-26-2004 Last Update: Never Installs: 5
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-29-2004, 07:32 PM
Chris Gwynne's Avatar
Chris Gwynne Chris Gwynne is offline
 
Join Date: Jan 2003
Posts: 316
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The RSS isn't on by default, so you might want to come up with an IF statement for the above code.
Reply With Quote
  #3  
Old 08-29-2004, 08:13 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 08-30-2004, 02:54 AM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 08-30-2004, 02:13 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 08-30-2004, 05:12 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 08-31-2004, 08:25 PM
ChessMess ChessMess is offline
 
Join Date: Jul 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 08-31-2004, 09:00 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 09-12-2004, 08:39 AM
ChessMess ChessMess is offline
 
Join Date: Jul 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any progress?
Reply With Quote
  #10  
Old 09-14-2004, 08:46 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:46 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.08333 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete