Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 09-14-2004, 09:00 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By default, which forums will be pulled? I have some private forums that I wouldn't want showing up in the feed.
Reply With Quote
  #13  
Old 09-15-2004, 01:27 AM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should pull all of them (by default), since it's just pointing to external.php. You could modify the line that actually calls external.php in my example in post #1 by adding the forum IDs, as mentioned at http://www.vbulletin.com/forum/showthread.php?t=97030, http://www.vbulletin.com/forum/showthread.php?t=109943, http://www.vbulletin.com/forum/showthread.php?t=109645,
http://www.vbulletin.com/forum/showthread.php?t=112012, and
http://www.vbulletin.com/forum/showthread.php?t=102442.
Reply With Quote
  #14  
Old 09-15-2004, 01:50 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 58sniper
It should pull all of them (by default), since it's just pointing to external.php. You could modify the line that actually calls external.php in my example in post #1 by adding the forum IDs, as mentioned at http://www.vbulletin.com/forum/showthread.php?t=97030, http://www.vbulletin.com/forum/showthread.php?t=109943, http://www.vbulletin.com/forum/showthread.php?t=109645,
http://www.vbulletin.com/forum/showthread.php?t=112012, and
http://www.vbulletin.com/forum/showthread.php?t=102442.
HHhmm..... I had kind of thought that was going to be the answer (it's been a bit since I've played around with external.php); just a suggestion but it might be a good idea to include that information in the instructions post so that people are aware of that the fact that it will pull from all forums by default. From randomly looking at some of the response it seems that some people have already implemented the code without specifying which forums to pull from.

OK, now that aside...... cool mod! I'll be implementing later tonight (but with explicit forums specified ).
Reply With Quote
  #15  
Old 09-15-2004, 11:00 AM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
just a suggestion but it might be a good idea to include that information in the instructions post so that people are aware of that the fact that it will pull from all forums by default. From randomly looking at some of the response it seems that some people have already implemented the code without specifying which forums to pull from.
True (and good point), but to be honest, I hadn't even thought of that when I originally posted it. When I get a chance, I'll rebundle the hack and update the first post.

Enable Opera's navigation toolbar options uses the same method to cause other options in Opera to become available, and this was just an added benefit that I released.
Reply With Quote
  #16  
Old 09-15-2004, 11:38 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 58sniper
True (and good point), but to be honest, I hadn't even thought of that when I originally posted it. When I get a chance, I'll rebundle the hack and update the first post.

Enable Opera's navigation toolbar options uses the same method to cause other options in Opera to become available, and this was just an added benefit that I released.
HHhhmmm..... looks like I may have to install Opera one of these days to play around with it.

(heads over to opera.com)


Edit: OK, I'm playing around with Opera but when I go to your site it looks like it's pulling http://www.efhs84.com/forum/external.php?type=php instead of http://www.efhs84.com/forum/external.php?type=rss2 -- With "php" the message text doesn't come across. This on purpose or did I miss something with the Opera install? Going off on a totally different tangent...... Opera renders my home page site diferent than IE or FireFox does. With Opera I'm getting some extra space at the top & bottom margins. Looks like it's time for me to hit the Opera support forums on that one.
Reply With Quote
  #17  
Old 09-15-2004, 01:02 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work fine with Desktop Sidebar also.

http://www.desktopsidebar.com
Reply With Quote
  #18  
Old 09-15-2004, 11:11 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
HHhhmmm..... looks like I may have to install Opera one of these days to play around with it.

(heads over to opera.com)


Edit: OK, I'm playing around with Opera but when I go to your site it looks like it's pulling http://www.efhs84.com/forum/external.php?type=php instead of http://www.efhs84.com/forum/external.php?type=rss2 -- With "php" the message text doesn't come across. This on purpose or did I miss something with the Opera install? Going off on a totally different tangent...... Opera renders my home page site diferent than IE or FireFox does. With Opera I'm getting some extra space at the top & bottom margins. Looks like it's time for me to hit the Opera support forums on that one.
Okay, that's my fault. I was noodling around and had changed it to PHP for something, and neglected to change it back. I've fixed it in the demo. Thanks for pointing it out.
Reply With Quote
  #19  
Old 09-21-2004, 09:25 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Firefox PR1 now has the same feature and this works a treat with it - thx for the tip
Reply With Quote
  #20  
Old 09-21-2004, 12:11 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Natch
Firefox PR1 now has the same feature and this works a treat with it - thx for the tip
OK, call me an idiot but I don't see see any new buttons in FireFox PR1 for the RSS feeds; the only thing I see is the "Live Bookmarks" option. Or is that what you meant and I'm making a mistake by assuming you were talking about the navigation buttons?
Reply With Quote
  #21  
Old 09-21-2004, 03:14 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
OK, call me an idiot but I don't see see any new buttons in FireFox PR1 for the RSS feeds; the only thing I see is the "Live Bookmarks" option. Or is that what you meant and I'm making a mistake by assuming you were talking about the navigation buttons?
That's what the live bookmarks are.
Reply With Quote
Reply


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 02:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04597 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_quote
  • (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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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