Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
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: 3.0.3 Rating:
Released: 08-26-2004 Last Update: Never Installs: 16
 
No support by the author.

This mod will trigger autodiscovery in news aggregators that support autodiscovery (most do).

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:
<link title="$vboptions[bbtitle] RSS Feed" href="$vboptions[bburl]/external.php?type=php" type="application/rss+xml" rel="alternate" />
That's it. Simple.

Let me know if you have any questions.

Show Your Support

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

Comments
  #12  
Old 08-29-2004, 01:55 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmmm..... let me look into that. My mod just gives the generic external.php link. I'm sure it can be modified. Gimme some time...

Also - please click INSTALL if you guys use this.
Reply With Quote
  #13  
Old 08-30-2004, 02:47 AM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm going to continue this mod in the thread over at vbulletintemplates.com. Check it out at http://www.vbulletintemplates.com/mo...ead.php?t=6996

The mod now includes a conditional, as well as some other info.
Reply With Quote
  #14  
Old 09-15-2004, 01:41 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the record, I use a very similar technique to activate Firefox Live Bookmarks

I'm only posting this so that anyone who wants a hack to enable Live Bookmarks will realise that this achieves that too
Reply With Quote
  #15  
Old 09-20-2004, 01:13 PM
michaelab michaelab is offline
 
Join Date: Jul 2003
Location: Lisbon, Portugal
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
For the record, I use a very similar technique to activate Firefox Live Bookmarks
I've been trying to do that and can't get it to work. The RSS icon appears on the status bar and clicking it adds the live bookmark (with the correct URL) but all I get in FireFox under the bookmark is "Live bookmark feed failed to load."

I'm on vB 3.0.1 - do I need to upgrade to 3.0.3 for this to work?

btw, I have live bookmark feeds working on other sites (eg BBC News).

Any ideas??

Michael.
Reply With Quote
  #16  
Old 09-20-2004, 01:54 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michaelab
I've been trying to do that and can't get it to work. The RSS icon appears on the status bar and clicking it adds the live bookmark (with the correct URL) but all I get in FireFox under the bookmark is "Live bookmark feed failed to load."

I'm on vB 3.0.1 - do I need to upgrade to 3.0.3 for this to work?

btw, I have live bookmark feeds working on other sites (eg BBC News).

Any ideas??

Michael.
In the headinclude template put the following, obviously modifying the URL for your forum, and the name of the forum too:

Code:
<link href="http://www.bowlie.com/forum/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="Bowlie - Latest Posts">
<if condition="$foruminfo[forumid] != ''">
<link href="http://www.bowlie.com/forum/external.php?type=rss2&amp;forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="Bowlie - Latest Posts in $foruminfo[title]">
</if>
You need full URLs, not relative.

RSS2 is prefered.

I have made it so that two feeds are available, a global one... and a per-forum one. Global feed of all latest posts is on every page, and the forum specific feed is on any page that can provide forum info (such as forumdiaply.php or showthread.php ).

That should work, does on mine
Reply With Quote
  #17  
Old 09-20-2004, 01:57 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm also going to work on a Calendar RSS feed if no-one else does.

And a proper version of "Latest posts" that provides the last posts content in the RSS rather than the first post of the thread.

Oh, and in external.php, I've changed the query just below "// query last 15 threads from visible / chosen forums" to order by thread.lastpost and NOT thread.dateline. As this way the threads in the RSS match perfectly the threads in the "Get Latest" page on the forum.
Reply With Quote
  #18  
Old 09-20-2004, 02:32 PM
58sniper 58sniper is offline
 
Join Date: Sep 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
In the headinclude template put the following, obviously modifying the URL for your forum, and the name of the forum too:

Code:
<link href="http://www.bowlie.com/forum/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="Bowlie - Latest Posts">
<if condition="$foruminfo[forumid] != ''">
<link href="http://www.bowlie.com/forum/external.php?type=rss2&amp;forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="Bowlie - Latest Posts in $foruminfo[title]">
</if>
You need full URLs, not relative.

RSS2 is prefered.

I have made it so that two feeds are available, a global one... and a per-forum one. Global feed of all latest posts is on every page, and the forum specific feed is on any page that can provide forum info (such as forumdiaply.php or showthread.php ).

That should work, does on mine
Nice work. This would be a more generic version of the above that shouldn't require editing. Plug and play.

Code:
<if condition="$vboptions[externalrss]">
<link href="$vboptions[bburl]/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts" />
<if condition="$foruminfo[forumid] != ''">
<link href="$vboptions[bburl]/external.php?type=rss2&amp;forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts in $foruminfo[title]" />
</if>
</if>
Reply With Quote
  #19  
Old 09-20-2004, 05:34 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 58sniper
Nice work. This would be a more generic version of the above that shouldn't require editing. Plug and play.

Code:
<if condition="$vboptions[externalrss]">
<link href="$vboptions[bburl]/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts">
<if condition="$foruminfo[forumid] != ''">
<link href="$vboptions[bburl]/external.php?type=rss2&amp;forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts in $foruminfo[title]">
</if>
</if>
Thanks! I just updated mine to have the forums change. I stuck mine in a else conditional though.
Code:
<if condition="$vboptions[externalrss]">
   <if condition="$foruminfo[forumid] != ''">
	  <link href="$vboptions[bburl]/external.php?type=rss2&forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts in $foruminfo[title]">
   <else/>
	  <link href="$vboptions[bburl]/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts">
   </if>
</if>
I seem to remember coming across an external.php hack somewhere that will accomodate sub-forums so I'm searching for that now. BTW: Thanks to you I'm now playing around with Opera as part of my standard testing.
Reply With Quote
  #20  
Old 09-20-2004, 07:45 PM
michaelab michaelab is offline
 
Join Date: Jul 2003
Location: Lisbon, Portugal
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks guys. Upgrading to vB 3.0.3 fixed the problem. Must have been something funky in the way RSS was being generated in 3.0.1.

Michael.
Reply With Quote
  #21  
Old 09-20-2004, 09:07 PM
ShiningArcanine ShiningArcanine is offline
 
Join Date: May 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wrote my own version of this:

Code:
<if condition="$vboptions[externalrss]">
<link href="$vboptions[bburl]/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="<phrase 1="$vboptions[hometitle]">$vbphrase[x_dash_latest_posts]</phrase>" />
<if condition="$foruminfo[forumid]">
<link href="$vboptions[bburl]/external.php?type=rss2&amp;forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="<phrase 1="$vboptions[hometitle]" 2="$foruminfo[title]">$vbphrase[x_dash_latest_posts_in_y]</phrase>" />
</if>
</if>
It uses the phrase system and the settings in vBulletin options. Anyone who wants to use this without modifying it would want to create two custom phrases. One would be named: x_dash_latest_posts and have this content:

Code:
{1} - Latest Posts
The other would be named x_dash_latest_posts_in_y and have this content:

Code:
{1} - Latest Posts in {2}
I hope that helps someone
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 09:42 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.05204 seconds
  • Memory Usage 2,314KB
  • 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
  • (10)bbcode_code
  • (4)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