RSS Feed

info2862

New Member
YetiShare User
Aug 9, 2013
43
0
0
Would be nice to have RSS feeds so that one can submit to Google Webmaster.
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Have a look here: http://www.yetisharemods.com/topic/160-rss-feed-to-show-the-latest-50-files/

And here: http://www.yetisharemods.com/topic/170-users-own-rss-feed/
 

info2862

New Member
YetiShare User
Aug 9, 2013
43
0
0
Thanks, but I'd like to have a feed with all active unprotected files so that I can submit all the URLS to Google Webmaster.
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
Easily done by changing the MySQL query in rss.php

Find on line 24:
Code:
$row = $db->getRows("SELECT * FROM file WHERE statusId = '1' ORDER BY id DESC LIMIT 0,$files");
Replace with:
Code:
$row = $db->getRows("SELECT * FROM file WHERE statusId = '1' AND accessPassword IS NULL ORDER BY id DESC");
 

info2862

New Member
YetiShare User
Aug 9, 2013
43
0
0
The script isn't working when you use download servers. It doesn't assign the proper file server, but only the main URL. As a result all URLs point to the wrong subdomains.
 

info2862

New Member
YetiShare User
Aug 9, 2013
43
0
0
Also, let's say you have 10,000 files - isn't the current format of the feed inefficient as it just creates a long list?