| View previous topic :: View next topic |
| Author |
Message |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Thu Feb 08, 2007 1:15 am Post subject: |
|
|
@Giel
I replied to your private message
@zSolo
| zSolo wrote: | | When i put like 5 min per update it takes like a hour to annouce the new news |
It will check 3 feeds a minute maximum, so if you put lots of feeds in there it might lag. Its possible to increase this limit if you like.
Search for this line and increase the 3 to whatever value you wish.
| Code: | | if {$i == 3} { break } |
@chaky & @kompas
Your feeds should now work in v0.4 which ill upload soon.
@demond
Giel was having problems with a modified proc to shorten the URL's the script outputs. rss-synd also supports the Location header. |
|
| Back to top |
|
 |
zSolo Voice
Joined: 02 Feb 2007 Posts: 9
|
Posted: Thu Feb 08, 2007 6:23 pm Post subject: |
|
|
Im only having it to check 1 feed
| Code: | "update-interval" 10
|
Thats the update setting.. So it checks evey min or 10mins? |
|
| Back to top |
|
 |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Fri Feb 09, 2007 3:19 am Post subject: |
|
|
| zSolo wrote: | | Thats the update setting.. So it checks evey min or 10mins? |
The feed is checked every 10 mins, but the script itself checks every 1 min to see if any feeds need updating.
If you only have one feed you shouldn't need to change the value i mentioned before.
Its possible that the website is banning you for an hour if you check to often, 5 mins between updates is pretty low. |
|
| Back to top |
|
 |
zSolo Voice
Joined: 02 Feb 2007 Posts: 9
|
Posted: Fri Feb 09, 2007 4:42 pm Post subject: |
|
|
| Ok, so let me get this stright, Basicly its checking every min and if there is a new news say at 5:00 then it will check it at 5:01 and post in teh channel? |
|
| Back to top |
|
 |
Giel Voice

Joined: 06 Feb 2007 Posts: 5 Location: The Netherlands
|
Posted: Sat Feb 10, 2007 6:34 pm Post subject: |
|
|
I am still trying to get URL redirection to work, but its still not working. All i get is the error message that the connection timed out.
This is the proc I put in the script:
proc ::gourl {url} {
set post_data [::http::formatQuery "url" $url "submit" "Create Your GoURL"]
# since this connection is synchronous and blocks, the timeout should be relatively small.
set token [::http::geturl "http://gourl.biz/create.php" -query $post_data -timeout 5000]
set data [::http::data $token]
regexp -nocase -- {<input type="text" name="url" size="45" value="(.[^"]+)">} $data -> url
return $url
}
Can someone tell me if this is correct and/or I have to edit this proc or other lines and where to put this in the script.
I am a newbie in eggdrop/tcl scripting, so all usefull help is welcome |
|
| Back to top |
|
 |
Umana Voice
Joined: 15 Mar 2007 Posts: 1
|
|
| Back to top |
|
 |
drmessano Voice
Joined: 17 Mar 2007 Posts: 1
|
Posted: Sat Mar 17, 2007 4:02 pm Post subject: Don't announce if text = blah |
|
|
I'm learning as I go here, and trying to figure out how to keep a feed from announcing if it contains a certain text string.
I am using the RSS feeds from the National Weather Service to announce weather info into a channel. When there is no activiity, the feed defaults to "There are no watches or warnings blah blah blah". It is updated every often, and so my channel is flooded with useless messages.
I would like to filter out these from being announced, but not remove them from the database. This gives me the ability to trigger them in channel and see there are no watches, warnings, etc, but doesn't feed them to channel every time they are updated.
I am looking in the feed_compare area, and I am not sure exactly how to contribute to the weighting to drop it below what's needed to be seen as an updated article. This may not even be the easiest or best place to do it, but it sorta made sense.
Any thoughts? |
|
| Back to top |
|
 |
Cletus Voice
Joined: 06 Aug 2006 Posts: 19
|
Posted: Thu Apr 05, 2007 7:51 pm Post subject: |
|
|
I, too would like the ability to filter certain results from showing in channel.
Filtering by keywords or text strings would be awesome.
Is it possible? |
|
| Back to top |
|
 |
croxis Voice
Joined: 06 Apr 2007 Posts: 1
|
Posted: Fri Apr 06, 2007 1:47 pm Post subject: |
|
|
Hi, thanks for the script but I am running into an error when I launch eggdrop
| Quote: | [10:41] invalid command name "tag_start"
while executing
"tag_start"
(file "scripts/rss-synd.tcl" line 730)
invoked from within
"source scripts/rss-synd.tcl"
(file "Eye.conf" line 1363)
[10:41] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
|
Thank you for your help! |
|
| Back to top |
|
 |
rix Halfop
Joined: 21 Sep 2005 Posts: 42 Location: Estonia
|
Posted: Thu Apr 12, 2007 7:52 am Post subject: |
|
|
| How do i disable automatic update to channel? Should i set "update-interval" to zero or just to some huge number? |
|
| Back to top |
|
 |
Freeze Voice
Joined: 18 May 2005 Posts: 6 Location: Germany/Bavaria
|
Posted: Fri Apr 13, 2007 7:02 am Post subject: |
|
|
Hi,
I've got a charset problem with version 0.4.
The RSS-Feed http://www.heise.de/newsticker/heise-atom.xml is encoded in UTF-8, but setting "charset" to "utf-8" doesn't effect the right output.
Umlauts like ä, ö, ü are posted like ä, ö ,ü.
The part in the config:
| Code: | set rss(heise) {
"url" "http://www.heise.de/newsticker/heise-atom.xml"
"channels" "#chat"
"database" "./scripts/news_heise.dat"
"output" "«\002«\002 News: www.Heise.de «\002•\002» @@entry!title@@ \002»\002»"
"trigger" "!heise"
"output-order" 1
"charset" "utf-8"
} |
Whats the problem? |
|
| Back to top |
|
 |
legend Voice
Joined: 10 May 2007 Posts: 1
|
Posted: Thu May 10, 2007 3:08 pm Post subject: |
|
|
great script btw, been searching a while for one I like.
Would it be possible to post news every "update-interval setting" - if theres no new news to post it cycles through the last "announce-output setting"
So if theres no news to post, it starts announcing the previous news posts.
Many thanks for work and time. |
|
| Back to top |
|
 |
cytralskunk Voice
Joined: 29 Nov 2006 Posts: 3
|
Posted: Sat Jun 02, 2007 10:08 am Post subject: Duplicates |
|
|
Is there any way to prevent duplicate lines by using the title instead of the url? Thanks.
-cS |
|
| Back to top |
|
 |
MenzAgitat Op

Joined: 04 Jul 2006 Posts: 118 Location: France
|
Posted: Mon Jul 02, 2007 8:39 am Post subject: |
|
|
I've been using that script for a long time but it seems that since today, I have a problem when the bot tries to fetch the RSS from www.imaginascience.com
The bot uses 100% CPU and the memory is filling up until there are no more ressources left and the computer crashes.
I have tried many times to enable/disable this particular feed and I'm 99,9% sure that the problem comes from it.
Here is the content of the feed like it was when the problem appeared :
http://www.boulets-roxx.com/buffer/imaginascience.xml
I'm using windrop 1.6.18 handlen32 and RSS Syndication v0.4
|
|
| Back to top |
|
 |
scotteh Halfop
Joined: 29 Jan 2006 Posts: 50
|
Posted: Mon Jul 02, 2007 4:13 pm Post subject: |
|
|
Sorry about the late replies..
@Umana
Ill check the feeds out.
@drmessano
Something like this is possible, please email me if you want some help setting it up.
@Cletus
Its possible to do currently, although it would be rather 'hackish'. I will consider adding it a config option.
@croxis
What version of rss-synd are you using?
@rix
set 'announce-output' to 0.
@Freeze
Ill look into it.
@legend
It would be possible with minor modifications, i'll consider adding it as a config option.
@cytralskunk
Ill fix this, its been bugging me as well.
@MenzAgitat
Hmm, seems like the parser is having issues with that xml feed. Ill check it out, thanks for saving the feed. |
|
| Back to top |
|
 |
|