1
acekid
RSS Feed
  • 2004/1/9 14:07

  • acekid

  • Just popping in

  • Posts: 16

  • Since: 2004/1/8 1


How do I create a block to receive an RSS feed from another site?

Thanks.

2
lykoszine
Re: RSS Feed
  • 2004/1/9 15:26

  • lykoszine

  • Module Developer

  • Posts: 244

  • Since: 2002/1/2 2


You need to have the Headlines module installed.

3
acekid
Re: RSS Feed
  • 2004/1/9 16:15

  • acekid

  • Just popping in

  • Posts: 16

  • Since: 2004/1/8 1


thanks. do you know where i can download that mod? i didn't see it in the downloads section.

4
blueangel
Re: RSS Feed
  • 2004/1/9 16:19

  • blueangel

  • Module Developer

  • Posts: 132

  • Since: 2002/2/20


the headlines module is inside the core package, you have only to install it in System Admin->Modules

5
acekid
Re: RSS Feed
  • 2004/1/9 16:28

  • acekid

  • Just popping in

  • Posts: 16

  • Since: 2004/1/8 1


ha. awesome. thanks for the help.

6
wrtbooks
Re: RSS Feed
  • 2004/1/22 23:08

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


I there any RSS feeds for the mydownloads that people can link to to get the most recent downloads or anything else my XOOPS site? I am using version 1.3

www.sermonindex.net

let me know.

7
charpres
Re: RSS Feed
  • 2004/1/22 23:23

  • charpres

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/9/4 2


And while we're talking about RSS, are there any plans to support Atom?

8
wrtbooks
Re: RSS Feed
  • 2004/1/23 0:38

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


I go the // Lykos Syndication Module
// Written by Samuel Wright (http://www.lykoszine.co.uk)

but I want the RSS links to work all of them are just defaulting to:http://www.sermonindex.net/modules/mydownloads/index.php?lid=

and there is no lid=432 # specified.. why is this? is the coding right below? I am using XOOPS 1.3.. thanks.


Quote:
$myts = & MyTextSanitizer::getInstance();
while ( $myrow = $xoopsDB->fetchArray($result) ) {
$temp .= " <item>\n";
$temp .= " <title>".$myts->makeTboxData4Show($myrow['title'])."</title>\n";
$temp .= " <link>".XOOPS_URL."/modules/mydownloads/index.php?lid=".$myts->makeTboxData4Show($myrow['did'])."</link>\n";
$temp .= " </item>\n";

9
lykoszine
Re: RSS Feed
  • 2004/1/23 9:08

  • lykoszine

  • Module Developer

  • Posts: 244

  • Since: 2002/1/2 2


Alright mate, now that is one BIG bug! Can't belive it has not been pointed out before.

Will sort that out this weekend sometime.

Regarding the 2 posts above. This functionality will be put in the core modules soon, rather than being a separate module.

Atom? Yeah maybe, if I can figure out how to use it

10
wrtbooks
Re: RSS Feed
  • 2004/1/23 15:38

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


FIXED!

Quote:
<link>".XOOPS_URL."/modules/mydownloads/index.php?lid=".$myts->makeTboxData4Show($myrow['did'])."</link>\n";


to

Quote:
<link>".XOOPS_URL."/modules/mydownloads/index.php?lid=".$myts->makeTboxData4Show($myrow['lid'])."</link>\n";


yes the 'did' to 'lid' in the downloads.rss.php file fixed the problem. Also I just changed it from index.php to singlefile.php so it will load the page with the file instead of just being a direct download link.

Login

Who's Online

176 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits