UBB.Dev
Posted By: twslex [6.7] [beta] UBBFeed RSS - 08/23/2005 11:44 AM
Modification Name: UBBFeed

Author(s): twslex

Description: This add-on, it does not hack your system at all, creates the xml feed files for your forum in the NonCGIURL path.

Apart from this, u need to add the needed meta tags in your overall template to make them automated in firefox.


Demo: none

Download Link: ubbfeed.zip

Credits: UBBNews php maker Sub Zero .

Copy ubbfeed.php into your NONCGIPATH, change the $varspath in the php code.
Unpack the feedcreator zipfile and place those files also in your NONCGIPATH.

After that:

Use it like UBBNews: /UBBFeed.php?forum=(X)&Threads=(Y)

More work needs to be done on this MOD, but lake of knowledge of php is keeping me of changing thinks. So any help would be very needed.

Thinks like this i would like to get it worked:
Last topic of thread into the feed and not the first one.

That it runs from the commandline and not from a browser. So u can use cron to update it every hour.

Automate that if someone replies or edit a post that the script is run automaticly.

Surpress the feed from showing on screen, so it could be automated....
Posted By: AllenAyres Re: [6.7] [beta] UBBFeed RSS - 08/23/2005 6:26 PM
thank you - when you get a demo of this I'd like to check it out smile

How is this different from the rss feeds in the content islands?
Posted By: twslex Re: [6.7] [beta] UBBFeed RSS - 08/23/2005 6:37 PM
Hiya,
Even futher with the code in the background.

the one posted does do the same as content island, but now u can select which rss feed u want.

the new code, which in not yet 100% complete, does shows the threads with the latest topics and not like the content island just showing the latest threads.

That is the big difference.

u can point your rss feeder into this location for a sneak preview:

http://www.fgth.nl/ubbfgth/forum1.xml
Posted By: twslex Re: [6.7] [beta] UBBFeed RSS - 08/23/2005 11:31 PM
Hiya,

Sinds i don't know how to update the zip file, here's the link:

.....on request link temp removed....

Requirements:
feedcreator.class.php (which is included in the zip, look at this link for the original source. code included has been altered)
vars_config.inc.php (it is expected to be in the same directory).

Just run it like ubbnews.php, e.g. http://yourdomain.com/ubb/ubbfeed.php?forum=1&threads=5

What it then does do:
it reads the forum for the latest topics.
it reads the var files for forumname and description
it reads the var files for number of topics per page
it then makes a forum.xml file in the same directory as from which ubbfeed has been run.

u could then access the cp and change the Header Inserts of your styles into something like this:

Code
<link rel="General News" type="application/rss+xml" title="RSS" href="http://yourdomain.com/pathtoubbfeed/forum1.xml">
RSS enabled browsers should then show the availablity of RSS feed of your forum.

The links in the feed do take u directly towards the latest topic in a thread.

Default (now hard coded) the feed is made a RSS2.0 feed.


Lex.
Posted By: LK Re: [6.7] [beta] UBBFeed RSS - 08/24/2005 2:23 AM
That's really nice, thanks. smile
It's also RSS2 if I'm not mistaken, ContentIslands doesn't support that.
Posted By: twslex Re: [6.7] [beta] UBBFeed RSS - 08/24/2005 8:43 AM
Hi,

Indeed, it does support RSS2 and more:

valid format are: RSS0.91, RSS1.0, RSS2.0, PIE0.1 (deprecated), MBOX, OPML, ATOM, ATOM0.3, HTML, JS
Posted By: _Cash Re: [6.7] [beta] UBBFeed RSS - 08/25/2005 8:51 PM
Will the links to download come back online?
Posted By: Gizmo Re: [6.7] [beta] UBBFeed RSS - 08/25/2005 9:21 PM
twslex, did you get permission from SubZero to republish his code?
Posted By: twslex Re: [6.7] [beta] UBBFeed RSS - 08/25/2005 9:54 PM
Still waiting for a reply?

Thought i was clear on the copyright part, but now i want to be 100% sure.

So i wait.

Sorry about me english if i look funny or incorrect. it is not me native language.
Posted By: Ron M Re: [6.7] [beta] UBBFeed RSS - 08/26/2005 8:28 PM
I have PM'd twslex and said that he can release the code. He can do so at his own risk.

I will provide NO support for my portions of the code since permission to release my code was not granted prior to it being posted here.
Posted By: twslex Re: [6.7] [beta] UBBFeed RSS - 08/26/2005 9:17 PM
thank u sub zero,

it is my first step into php code, shall do my best to get 100% new code.

download link available.
Posted By: Gizmo Re: [6.7] [beta] UBBFeed RSS - 08/26/2005 9:36 PM
I like this mod, it's a great idea; however it's been "tweaked" from UBBNews to the extent it doens't function LIKE UBBNews; I don't like being subjected to the requirement of having to store any "extra" files in one set directory; I attempted to store the files in my /includes directory and just set the path but I get some mumbo jumbo about not being able to write files... smirk
Posted By: twslex Re: [6.7] [beta] UBBFeed RSS - 08/26/2005 11:00 PM
as stated in the previous post, it's my first attemp to do thinks in perl/php, so more modifications on the file are needed. but it takes time to learn the language.

so shoot if u want to have thinks changed.
Posted By: _Cash Re: [6.7] [beta] UBBFeed RSS - 09/09/2005 5:45 PM
The download link doesn't work anymore.
Posted By: twslex Re: [6.7] [beta] UBBFeed RSS - 09/09/2005 6:55 PM
ur right, shall do something about it.
Posted By: RoxSeibert Re: [6.7] [beta] UBBFeed RSS - 12/03/2005 2:16 AM
great idea here!! How hard would it be to add an < image > node to the generated xml file so that i could put a proper logo graphic on my feeds?
Posted By: En3rgie Re: [6.7] [beta] UBBFeed RSS - 12/25/2005 12:56 AM
Can anybody send to me this file? Thanks !!!

[email protected]
Posted By: mrlumpy Re: [6.7] [beta] UBBFeed RSS - 05/04/2012 11:56 AM
Is this file still available? I'd really like to take a look at this.
© UBB.Developers