Previous Thread
Next Thread
Print Thread
Rate Thread
#203450 08/23/2005 4:44 AM
Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
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....

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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?
Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
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

Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
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.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
That's really nice, thanks. smile
It's also RSS2 if I'm not mistaken, ContentIslands doesn't support that.

Sponsored Links
Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
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

Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
Will the links to download come back online?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
twslex, did you get permission from SubZero to republish his code?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
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.

Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
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.

Sponsored Links
Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
thank u sub zero,

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

download link available.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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 - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
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.

Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
The download link doesn't work anymore.

Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
ur right, shall do something about it.

Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
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?

Joined: Dec 2005
Posts: 15
Junior Member
Junior Member
Offline
Joined: Dec 2005
Posts: 15
Can anybody send to me this file? Thanks !!!

[email protected]

Joined: Dec 2004
Posts: 5
Lurker
Lurker
Offline
Joined: Dec 2004
Posts: 5
Is this file still available? I'd really like to take a look at this.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)