| View previous topic :: View next topic |
| Author |
Message |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Thu Jan 20, 2011 3:36 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Thu Feb 03, 2011 6:37 am Post subject: |
|
|
| If a RSS Text is longer then IRC Status allow it, the Text wont be postet. Is it possible to split longer Text? |
|
| Back to top |
|
 |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
|
| Back to top |
|
 |
Jagg Halfop
Joined: 24 Jan 2004 Posts: 53
|
Posted: Wed Mar 09, 2011 12:36 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
PsySc0rpi0n Voice
Joined: 27 Dec 2009 Posts: 15
|
Posted: Sat Mar 12, 2011 4:58 pm Post subject: |
|
|
Hi... I need some help because i can't make your tcl run on my bot...
I have your tcl like this:
| Code: | # 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: | 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??? |
|
| Back to top |
|
 |
Anahel Halfop

Joined: 03 Jul 2009 Posts: 48 Location: Dom!
|
Posted: Sat Mar 12, 2011 8:17 pm Post subject: |
|
|
You don't need to create both folders and files, script(bot) will do it itself
"trigger-type" 0:2www
^ remove obvious error - "www" |
|
| Back to top |
|
 |
cquilliam Voice
Joined: 05 Nov 2009 Posts: 2
|
Posted: Sun Apr 24, 2011 12:43 am Post subject: |
|
|
| kenh83 wrote: | "Auto-Feed" not working?!
So the script doesnt seem to auto announce for me.. Here are my settings:
[code]
*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.
[/code]
I've tried just to do, 'touch filename.db' to no avail, gives out a different error saying its not a proper file:
[code]
[05:23] RSS Error: Invalid feed database file format (googleusa.db)!
[/code]
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. |
|
| Back to top |
|
 |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Tue May 24, 2011 12:08 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
hm2k Halfop

Joined: 11 Sep 2006 Posts: 57 Location: UK
|
Posted: Tue May 24, 2011 1:07 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Thu Jun 02, 2011 1:54 pm Post subject: |
|
|
Hi. thanks, but since i am no coder i have to ask ...how do i implement this? |
|
| Back to top |
|
 |
PsySc0rpi0n Voice
Joined: 27 Dec 2009 Posts: 15
|
Posted: Tue Oct 04, 2011 1:53 pm Post subject: |
|
|
I'm getting this error...
Please help
| Code: | Tcl error [::rss-synd::feed_get]: can't use non-numeric string as operand of "*"
|
And also this when using the trigger
| Quote: | | RSS Warning: couldn't open "./scripts/feeds/filename.db": no such file or directory. |
I'm using 0.5beta1 version...
Thank you |
|
| Back to top |
|
 |
Arkadietz Halfop

Joined: 14 Jul 2006 Posts: 67 Location: cat /dev/zero > /dev/null;
|
Posted: Wed Oct 05, 2011 2:04 pm Post subject: |
|
|
So is it available some official version where all is already fix it? _________________ On a unix system everything is a file ; if something is not a file , it is a proccess.
Last edited by Arkadietz on Sun Mar 23, 2014 9:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
Mysticales Voice
Joined: 18 Oct 2011 Posts: 26
|
Posted: Sat Oct 29, 2011 2:21 pm Post subject: |
|
|
Question please.
I am using this xml for the feed I want.
http://store.steampowered.com/feeds/news.xml
| Code: | # 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?~ |
|
| Back to top |
|
 |
imoro Voice
Joined: 24 Nov 2011 Posts: 1
|
Posted: Thu Nov 24, 2011 9:47 am Post subject: |
|
|
Hi,
can someone tell me how I can use the rss-synd-shortlink script?
Thanks, moro |
|
| Back to top |
|
 |
vladdeh Voice
Joined: 23 Mar 2011 Posts: 33
|
Posted: Fri Nov 25, 2011 2:58 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
|