php forum
php mysql forum
php mysql smarty
 
Topic Options
#203450 - 08/23/05 04:44 AM [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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: <NONCGIURL>/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....

Top
#203451 - 08/23/05 11:26 AM Re: [6.7] [beta] UBBFeed RSS
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
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?
_________________________
- Allen wavey
- What Drives You?

Top
#203452 - 08/23/05 11:37 AM Re: [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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

Top
#203453 - 08/23/05 04:31 PM Re: [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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<number of 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.

Top
#203454 - 08/23/05 07:23 PM Re: [6.7] [beta] UBBFeed RSS
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
That's really nice, thanks. smile
It's also RSS2 if I'm not mistaken, ContentIslands doesn't support that.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#203455 - 08/24/05 01:43 AM Re: [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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

Top
#203456 - 08/25/05 01:51 PM Re: [6.7] [beta] UBBFeed RSS
_Cash Offline
User

Registered: 11/05/03
Posts: 35
Will the links to download come back online?

Top
#203457 - 08/25/05 02:21 PM Re: [6.7] [beta] UBBFeed RSS
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
twslex, did you get permission from SubZero to republish his code?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#203458 - 08/25/05 02:54 PM Re: [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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.

Top
#203459 - 08/26/05 01:28 PM Re: [6.7] [beta] UBBFeed RSS
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
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.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#203460 - 08/26/05 02:17 PM Re: [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
thank u sub zero,

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

download link available.

Top
#203461 - 08/26/05 02:36 PM Re: [6.7] [beta] UBBFeed RSS
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
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
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#203462 - 08/26/05 04:00 PM Re: [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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.

Top
#203463 - 09/09/05 10:45 AM Re: [6.7] [beta] UBBFeed RSS
_Cash Offline
User

Registered: 11/05/03
Posts: 35
The download link doesn't work anymore.

Top
#203464 - 09/09/05 11:55 AM Re: [6.7] [beta] UBBFeed RSS
twslex Offline
Member

Registered: 06/13/02
Posts: 100
ur right, shall do something about it.

Top
#203465 - 12/02/05 06:16 PM Re: [6.7] [beta] UBBFeed RSS
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
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?
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

dangerously inspired by ubbdev,
but i still absolutely HATE perl.

Top
#203466 - 12/24/05 04:56 PM Re: [6.7] [beta] UBBFeed RSS
En3rgie Offline
Junior Member

Registered: 12/24/05
Posts: 16
Can anybody send to me this file? Thanks !!!

En3rgie@en3rgie.com

Top


Moderator:  Charles, Gizmo 
Who's Online
2 registered (AllenAyres, blaaskaak), 19 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Spell Check [beta]
by AllenAyres
12/01/08 09:32 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25449
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks