|
Joined: Jun 2002
Posts: 111
Member
|
Member
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....
|
|
|
|
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 How is this different from the rss feeds in the content islands?
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
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
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:
<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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
That's really nice, thanks. It's also RSS2 if I'm not mistaken, ContentIslands doesn't support that.
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
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
Joined: Nov 2003
Posts: 35 |
Will the links to download come back online?
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
twslex, did you get permission from SubZero to republish his code?
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
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
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.
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
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,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 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... 
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
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
Joined: Nov 2003
Posts: 35 |
The download link doesn't work anymore.
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
ur right, shall do something about it.
|
|
|
|
Joined: Feb 2003
Posts: 179
Member
|
Member
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
Joined: Dec 2005
Posts: 15 |
Can anybody send to me this file? Thanks !!! [email protected]
|
|
|
|
Joined: Dec 2004
Posts: 5
Lurker
|
Lurker
Joined: Dec 2004
Posts: 5 |
Is this file still available? I'd really like to take a look at this.
|
|
|
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.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|