Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
RSS Post feed (no mods, no plugins) Details »»
RSS Post feed (no mods, no plugins)
Version: 0.1, by R*NightOwl R*NightOwl is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.4 Rating:
Released: 08-23-2009 Last Update: Never Installs: 11
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

This is a php script which outputs posts made in the forum in RSS format,
this is not an addition to the existing RSS system but rather an independent PHP file which generates "mock" RSS information.

Format of output is this:
Code:
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"> 
	<channel> 
		<item> 
			<title>Title of the forum topic</title> 
			<postTitle>Title of my post</postTitle> 
			<link>http://127.0.0.1/vb/showpost.php?p=4</link> 
 			<pubDate>Sat, 22 Aug 2009 21:42:48 CDT</pubDate> 
			<description>this is the post content</description> 
			<thread>http://127.0.0.1/vb/showthread.php?t=1&goto=newpost</thread> 
			<dc:creator>s0beit</dc:creator> 
 			<guid isPermaLink="true">http://127.0.0.1/vb/showthread.php?t=1</guid> 
		</item> 
	</channel> 
</rss>
Each post is exported, including new topics if you configure your URL to do such.

Options:
  • nohtml - strip html from RSS fields
  • include - specify which forums to include in the feed (separated by commas)
  • exclude - specify which forums to exclude in the feed (separated by commas)
  • bbcode - strip bbcode from RSS fields
  • newline - strip newline from RSS fields
  • showthread - show new thread posts in the feed

Here is an example URL:
Code:
http://localhost/vb/external_post.php?bbcode=1&nohtml=1&newline=1&exclude=1,3
From an RSS-feed reading TCL script for eggdrop, which is what it was originally designed for:
Quote:
(20:54:18) (&TGSBot) [NEW POST] URL OMITTED
(20:54:18) (&TGSBot) ibtrippin226: pretty sweet? you fkn nerdgasmed over it on irc probably would be a good idea
(21:01:17) (&TGSBot) [NEW POST] URL OMITTED
(21:01:18) (&TGSBot) Konota: -Points to signature-
(21:02:18) (&TGSBot) [NEW POST] URL OMITTED
(21:02:19) (&TGSBot) b0mbowns: Chocolate Rain by Tay ZondayListen to the diarrhea version did I spell diarrhea correctly? That is a pretty hard word to memorize.
I must state one last time that this is "mock" RSS, i do not have an XML class or RSS class to design the output, i simply echo information, if this is a problem to you then you can fix it yourself.

This is also my first "mod", be nice.

Download Now

File Type: zip external_post.zip (1.5 KB, 121 views)

Show Your Support

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

Comments
  #2  
Old 08-24-2009, 03:20 PM
Zate Zate is offline
 
Join Date: Apr 2003
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why this and not using external.php ?
Reply With Quote
  #3  
Old 03-01-2011, 08:09 AM
Uberguilds Uberguilds is offline
 
Join Date: Jun 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would imagine so that you could set RSS feeds to specific forums or users instead of just one global.
Reply With Quote
  #4  
Old 03-01-2011, 08:17 AM
R*NightOwl R*NightOwl is offline
 
Join Date: Jan 2009
Location: Chicago
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Uberguilds View Post
I would imagine so that you could set RSS feeds to specific forums or users instead of just one global.
I mostly used this to feed data to my eggdrop, external.php wasn't detailed enough and i didn't think it warranted modifying it to meet my ends. This works perfectly well.
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 01:56 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.11481 seconds
  • Memory Usage 2,252KB
  • Queries Executed 20 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete