View Full Version : Add-On Releases - DownloadsII Simple RSS Feed Add-On
SeanMT
02-07-2009, 10:00 PM
NO SUPPORT GIVEN FOR THIS RELEASE
What Does It Do?
Allows you to create a simple RSS feed for your DownloadsII database.
As this feed is XML it must be "well-formed" and "valid". Your feed will not work if there are errors such as if there is an & (instead of using & ) in the RSS feed etc...
DownloadsII Simple RSS Feed Add-On is not a standalone mod. It requires DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122).
Live Demo
Click here to see a LIVE DEMO (http://www.fm-base.co.uk/forum/downloads/feed/downloads_rss.php) (Usually has errors as the files often have &'s in the descriptions)
Installation
1) Extract the archive.
2) Edit /upload/downloads_config.php and fill in your details.
$dbhost = 'localhost'; //mySQL host. Should be fine to leave as localhost
$dbuser = 'root'; //mySQL user
$dbpass = ''; //mySQL password
$dbname = 'forums'; //mySQL database name
$tblname = 'vb3_dl_files'; //mySQL table name. Default is vb3_dl_files
$fields = 'id, name, description, date, purgatory'; //fields you want to retrieve information from. Seperate with a comma.
$limit = '5'; //number of items to display in the feed.
$siteURL = "http://www.your-site.co.uk/forum/downloads.php"; //direct path to your downloads.php script
$feedTitle = "Your-Site.co.uk - Latest Downloads"; //title you want for your feed
3) Upload the files in the upload folder (downloads_config.php, downloads_rss.php)
4) Browse to http://www.your-site.co.uk/forum/downloads_rss.php to see it in action.
I'm sorry for how basic this is but my knowledge (especially when it comes to vB integration) is very limited.
I have also included a RSS button that you can use to spread the word for your feed.
Daniel_HBK
02-08-2009, 02:33 AM
Excellent hack
:)
Khalat
02-08-2009, 02:53 AM
good work !
Thanks
dtv100
02-08-2009, 04:31 AM
not working with firefox .
do you know why ?
LCN2007
02-08-2009, 06:24 AM
does it work with 3.7.2?
SeanMT
02-08-2009, 05:43 PM
not working with firefox .
do you know why ?
The demo doesn't look right in firefox because I haven't added a css stylesheet.
It's easy to do. Here's (http://www.oreillynet.com/pub/a/network/2005/07/01/rss.html) a nice tutorial.
does it work with 3.7.2?
Yes it should work. It should work with any version really, you will just have to modify the table name or fields if they are different in earlier versions.
dtv100
02-09-2009, 05:17 AM
i mean on my site also using firefox don't look good.
any plan to add it to hack ?
Hornstar
02-09-2009, 07:09 PM
Thanks for sharing, ill give this a go shortly. thanks.
Goomzee
02-10-2009, 05:09 AM
it's not working see the links
http://www.mknexusonline.com/forums/downloads/downloads_rss.php
and what should i write in path line
home/xxx/forums/downloads
or
mknexusonline/forums/downloads
SeanMT
02-10-2009, 10:56 AM
i mean on my site also using firefox don't look good.
any plan to add it to hack ?
What error are you getting?
Yes I will add it next time I update it. But this is nowhere near my list of things to do at the moment.
it's not working see the links
http://www.mknexusonline.com/forums/downloads/downloads_rss.php
and what should i write in path line
home/xxx/forums/downloads
or
mknexusonline/forums/downloads
The link you gave doesn't work.
But for your $siteURL put in http://www.mknexusonline.com/forums/downloads.php
Goomzee
02-11-2009, 05:49 AM
still same error
http://www.mknexusonline.com/forums/downloads/downloads_rss.php
i uploaded both files in downlaods directory ans forums as well as
SeanMT
02-11-2009, 08:09 AM
still same error
http://www.mknexusonline.com/forums/downloads/downloads_rss.php
i uploaded both files in downlaods directory ans forums as well as
It's not connecting to your database. Make sure you have edited these variables in downloads_config.phpcorrectly...
$dbhost = 'localhost'; //mySQL host. Should be fine to leave as localhost
$dbuser = 'root'; //mySQL user
$dbpass = ''; //mySQL password
$dbname = 'forums'; //mySQL database name
$tblname = 'vb3_dl_files'; //
Goomzee
02-12-2009, 05:49 AM
It's not connecting to your database. Make sure you have edited these variables in downloads_config.phpcorrectly...
$dbhost = 'localhost'; //mySQL host. Should be fine to leave as localhost
$dbuser = 'root'; //mySQL user
$dbpass = ''; //mySQL password
$dbname = 'forums'; //mySQL database name
$tblname = 'vb3_dl_files'; //
i did still show error i don;t know what is my $tblname
gigaenvy
03-05-2009, 11:15 PM
Demo broken...
XML Parsing Error: not well-formed
Location: http://www.fm-base.co.uk/forum/downloads/feed/downloads_rss.php
Line Number 40, Column 83:[/COLOR][/SIZE][URL="http://www.fm-base.co.uk/forum/album.php?albumid=79&pictureid=435"][IMG]http://www.fm-base.co.uk/forum/picture.php?albumid=79&pictureid
nuncfluens
05-05-2009, 07:19 AM
any way for this to get only from specific categories? :)
SeanMT
05-05-2009, 11:50 AM
any way for this to get only from specific categories? :)
I haven't tried but you should be able to do it by editing line 15 of downloads_rss.php
AFTER:
WHERE purgatory = 0
ADD:
AND category = 5
Obviously just change the category number to use different categories.
maidos
05-05-2009, 03:35 PM
great add on.
its not compatiable with webfeeds or desktop feeds. It will continue displaying entrie even though i made it specific to only display 100 entries. But google reader displays now at 500 entries and still continues
is there anyway to use the vbulletin rss visual page instead of using an external site like rapidfeeds
also when we check your demo you have some xml errors, this is something constantly encounter with our own using your script. Any advice?
edit: read yourposts, is it possible you could make your script suport utf8 characters like & ?
thanks
SeanMT
05-05-2009, 08:28 PM
great add on.
its not compatiable with webfeeds or desktop feeds. It will continue displaying entrie even though i made it specific to only display 100 entries. But google reader displays now at 500 entries and still continues
is there anyway to use the vbulletin rss visual page instead of using an external site like rapidfeeds
also when we check your demo you have some xml errors, this is something constantly encounter with our own using your script. Any advice?
edit: read yourposts, is it possible you could make your script suport utf8 characters like & ?
thanks
Sorry but I am not very good at RSS. What I've done in the addon is probably my limit so I can't really help you with the visual style of it. Maybe someone else with a bit more knowledge can step in.
About the XML errors I know, but like I said I am not very good at this and I don't really know a way around it.
deetwelve
06-14-2009, 01:54 AM
I get the following error:
XML Parsing Error: not well-formed
Location: http://www.*****.org/downloads_rss.php
Line Number 78, Column 27:**MUST HAVE HIDDEN FILES & FOLDER ON**
--------------------------^
mpoorrajab
07-19-2009, 12:26 PM
it show me a blank page ...
what`s the problem?
darknusens
08-11-2009, 01:48 AM
The demo doesn't look right in firefox because I haven't added a css stylesheet.
It's easy to do. Here's (http://www.oreillynet.com/pub/a/network/2005/07/01/rss.html) a nice tutorial.
Can you add a basic tutorial on where to put what please.
michael24179
05-03-2010, 08:28 AM
Notice: Undefined index: name in /var/kunden/webs/www/downloads_rss.php on line 45
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.