This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop RSS Syndication (rss-synd) v0.5b1

Support & discussion of released scripts, and announcements of new releases.
Post Reply
s
scotteh
Halfop
Posts: 50
Joined: Sun Jan 29, 2006 12:43 am

Post by scotteh »

romprod wrote:Is it possible to fix the issue with it only reporting a new news feed when it's the first one in the RSS feed? For example it won't announce a new news article if it's been inserted further down into the RSS feed.
It's possible, worth putting on the issue tracker as a suggestion. http://code.google.com/p/rss-synd/issues/list
Kraziee wrote:Hello!
awesome script!
but it dosent auto announce, or it does but 5-10 hours to late:/

“update-interval” 2
“timeout” 60000
That update interval is fairly low. Make sure you're not getting banned for hammering. Try wgetting the feed while it's not announcing and check the output.
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

If a RSS Text is longer then IRC Status allow it, the Text wont be postet. Is it possible to split longer Text?
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Fraud wrote:If a RSS Text is longer then IRC Status allow it, the Text wont be postet. Is it possible to split longer Text?
http://forum.egghelp.org/viewtopic.php?p=81741#81741
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
J
Jagg
Halfop
Posts: 53
Joined: Sat Jan 24, 2004 11:32 am

Post by Jagg »

Fraud wrote:Hey. Nice one. Thanks a lot.
Got mine working now
Is it possible to get the Time Data changed.
Right now its 2010-11-22T19:11:33+01:00

I would like to get it in this way
Date: 22.11.10 - Time: 19:11:33
+1

...and it would also be nice to have an "offset" option because the time in source code of rss feed differs from the time I use in the channel for example. So

Wed, 09 Mar 2011 16:31:16 +0000

should be

Wed, 09 Mar 2011 17:31:16 +0000

for example.
P
PsySc0rpi0n
Voice
Posts: 15
Joined: Sun Dec 27, 2009 6:00 am

Post by PsySc0rpi0n »

Hi... I need some help because i can't make your tcl run on my bot...

I have your tcl like this:

Code: Select all

 # Start of Settings
    #

    namespace eval ::rss-synd {
        variable rss
        variable default

        set rss(OJogo) {
            "url"            "http://www.ojogo.pt/rss/Noticias.rss"
            "channels"        "#Anti-SexAppeal"
            "database"        "./scripts/feeds/ojogo.db"
            "output"        "\\\[\002OJogo\002\\\] @@item!title@@ (@@item!slash:section@@) - \[string map { \"&from=rss\" \"\" } \"@@item!feedburner:origLink@@\"\]"
            "trigger"        "!@@feedid@@"
            "evaluate-tcl"    1
        }


And:

Code: Select all

 set default {
            "announce-output"    3
            "trigger-output"    3
            "remove-empty"        1
            "trigger-type"        0:2www
            "announce-type"        0
            "max-depth"            5
            "evaluate-tcl"        0
            "update-interval"    30
            "output-order"        0
            "timeout"            60000
            "channels"            "#Anti-SexAppeal"
            "trigger"            "!rss @@feedid@@"
            "output"            "\[\002@@channel!title@@@@title@@\002\] @@item!title@@@@entry!title@@ - @@item!link@@@@entry!link!=href@@"
            "user-agent"        "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
        }
    }

    #
    # End of Settings


And when i trigger the script with the command "!OJogo" it returns the following error:

[20:48] RSS Warning: couldn't open "./scripts/feeds/ojogo.db": permission denied.


The folder ./script/feeds is created and i set it's permitions to 666 with the command chmod 666 /scripts/feeds

What am i missing?

And the trigger to activate the script is !feedname or !rss feedname?

And the link to your website doesn't work...

Cheers



Edit;

Well, i decided to put in the tcl the complete path to the feed folder and i also created the file ojogo.db.

Now when i do .save and .rehash the following error comes up:

RSS Error: Invalid 'trigger-type' syntax for feed "OJogo".

Can you help me???
User avatar
Anahel
Halfop
Posts: 48
Joined: Fri Jul 03, 2009 6:18 pm
Location: Dom!

Post by Anahel »

You don't need to create both folders and files, script(bot) will do it itself

"trigger-type" 0:2www

^ remove obvious error - "www"
c
cquilliam
Voice
Posts: 2
Joined: Thu Nov 05, 2009 10:49 am

Post by cquilliam »

kenh83 wrote:"Auto-Feed" not working?!

So the script doesnt seem to auto announce for me.. Here are my settings:

Code: Select all

*snip*

Also, whats with this:

[code]
[05:34] RSS Warning: couldn't open "bbc.db": no such file or directory.
[05:34] RSS Warning: couldn't open "wired.db": no such file or directory.
[05:34] RSS Warning: couldn't open "deb.db": no such file or directory.
I've tried just to do, 'touch filename.db' to no avail, gives out a different error saying its not a proper file:

Code: Select all

[05:23] RSS Error: Invalid feed database file format (googleusa.db)!
This script should be able to create these files automatically if they do not exist, I do not understand what the problem is.

Most concerning though, is that the feed is not being announced in the channel -- Some are, some aren't. Its rather annoying, to be honest.
I'm having the same problem. Been using this script for the last year without issue, now, all of a sudden, the bot is no longer updating the channel for certain feeds.

The two feeds affected are both wordpress feeds, but their links work fine if you open them up in a browser. I never changed anything when this suddenly stopped working.

I tried removing the database and reloading the bot, now it just keeps saying:
"RSS Warning couldn't open "./scripts/feeds/blog.db": no such file or directory"

And the bot won't re-create it. Can't figure out why this is happening, nor how to track down the issue. Bot doesn't give me any other information, I'm not even sure if its even going out and grabbing the feed or not.
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

One more problem.
I have added a Feed from my forum.. works all fine so far.. but if any types the trigger he always get the oldest news at first.
It would be nice if the script would output the newest RSS entries at first
User avatar
hm2k
Halfop
Posts: 57
Joined: Mon Sep 11, 2006 7:27 am
Location: UK

Post by hm2k »

Fraud wrote:One more problem.
I have added a Feed from my forum.. works all fine so far.. but if any types the trigger he always get the oldest news at first.
It would be nice if the script would output the newest RSS entries at first
It seems you have already posted this on the tracker:

http://code.google.com/p/rss-synd/issues/detail?id=6
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

username wrote:
Fraud wrote:If a RSS Text is longer then IRC Status allow it, the Text wont be postet. Is it possible to split longer Text?
http://forum.egghelp.org/viewtopic.php?p=81741#81741
Hi. thanks, but since i am no coder i have to ask ...how do i implement this?
P
PsySc0rpi0n
Voice
Posts: 15
Joined: Sun Dec 27, 2009 6:00 am

Post by PsySc0rpi0n »

I'm getting this error...
Please help

Code: Select all

 Tcl error [::rss-synd::feed_get]: can't use non-numeric string as operand of "*"
And also this when using the trigger

RSS Warning: couldn't open "./scripts/feeds/filename.db": no such file or directory.
I'm using 0.5beta1 version...

Thank you
User avatar
Arkadietz
Halfop
Posts: 67
Joined: Fri Jul 14, 2006 11:43 am
Location: cat /dev/zero > /dev/null;

Post by Arkadietz »

So is it available some official version where all is already fix it?
Last edited by Arkadietz on Sun Mar 23, 2014 9:04 pm, edited 1 time in total.
On a unix system everything is a file ; if something is not a file , it is a proccess.
M
Mysticales
Voice
Posts: 26
Joined: Tue Oct 18, 2011 5:33 pm

Post by Mysticales »

Question please.

I am using this xml for the feed I want.
http://store.steampowered.com/feeds/news.xml

Code: Select all

# This is an example of a basic feed, If you dont understand why all
	#   the \'s are in the examples below use this one as a template.
	set rss(steam) {
		"url"			"http://store.steampowered.com/feeds/news.xml"
		"channels"		"#TribbleBBQ"
		"database"		"./scripts/steamnews.db"
		"output"		"[Steam News] @@item!title@@ - @@item!guid@@"
		"trigger"		"!steam"
	}
Is the code I use, which it does auto post the new feeds into the room just fine. (Tho it took a lil time to update and then work I guess) But the question is, I wanna add the ability for it to show the link to the news it gave too. Thing is, I have tried things like adding @@entry!link!=href@@ or @@item!link@@ to it, but then when I try to run it, it gives me an invalid format in the db. So am I doing something wrong? Or is it a bug?

Also I saw someone elses code where it makes a tiny url for it. How did that work? Would be cool. =)
~Battlez-avec la Mystique?~
i
imoro
Voice
Posts: 1
Joined: Thu Nov 24, 2011 9:43 am

Post by imoro »

Hi,

can someone tell me how I can use the rss-synd-shortlink script?

Thanks, moro
v
vladdeh
Voice
Posts: 33
Joined: Wed Mar 23, 2011 1:52 pm

Post by vladdeh »

someguy wrote:Is it possible to fix the issue with it only reporting a new news feed when it's the first one in the RSS feed? For example it won't announce a new news article if it's been inserted further down into the RSS feed.
I'd like this also fixed if possible please
Post Reply