View previous topic :: View next topic |
Author |
Message |
multikon Voice
Joined: 19 Jun 2004 Posts: 22
|
Posted: Mon Mar 27, 2006 4:36 pm Post subject: |
|
|
Hi
Big thx for this great script ..
Can you make an option to use sql ?
and a little timestamp for daily archive ?
thx for reply and cya |
|
Back to top |
|
 |
vinsoc Voice
Joined: 02 Feb 2006 Posts: 2
|
Posted: Wed Mar 29, 2006 10:20 am Post subject: |
|
|
if output is only this..
"output" "[\002EXAMPLE\002] @@item!description@@"
...it`s not working. (repair please)
if output is this..
"output" "[\002EXAMPLE\002] @@item!title@@ - @@item!description@@
..it works
Trigger works.
/vinsoc |
|
Back to top |
|
 |
O_M3_ Voice
Joined: 30 Mar 2006 Posts: 1
|
Posted: Fri Mar 31, 2006 12:22 am Post subject: multiple outputs per article |
|
|
i use your rss-synd...it work fine but i would like of customization.
same example posted here by neuschnee:
"output" "[\002Blah Blah\002] @@item!title@@ \n URL: @@item!link@@"
could output:
somebot: [Blah Blah] New Article Asfasfasd
somebot: URL: http://link.to.new.article.com
do you can help me? Please
Marcio from Brasil |
|
Back to top |
|
 |
RGhost Voice
Joined: 07 Apr 2006 Posts: 3
|
Posted: Fri Apr 07, 2006 2:57 pm Post subject: |
|
|
RSS Error: Unable to parse feed properly, parser returned error. "http://forums.cgsociety.org/external.php?forumids=121"
Can u fix it?
Tnx. |
|
Back to top |
|
 |
Wayno Voice
Joined: 10 Apr 2006 Posts: 3
|
Posted: Mon Apr 10, 2006 3:23 pm Post subject: |
|
|
hi just wondering how u get this rss feed script to auto display the info of new updates? |
|
Back to top |
|
 |
duckdown Voice
Joined: 19 Apr 2006 Posts: 15 Location: gta
|
Posted: Wed Apr 19, 2006 3:15 pm Post subject: |
|
|
Will this script display PUBLICALLY to the channel new RSS news? I could care less about the trigger, and would even disable it if I could.
I just want people to be able to idle in the channel catch the headlines.
Thanks |
|
Back to top |
|
 |
rubstar Voice
Joined: 23 Apr 2006 Posts: 2
|
Posted: Sun Apr 23, 2006 5:18 pm Post subject: |
|
|
hi.. i've been using v0.2 for a while now.. and the gzip support on 0.3 is great, been waiting for this.
I've got one problem.. if i used the feed trigger in 0.2, the articles of the feed would be displayed with the newest first, and the oldest last. 0.3 gives me the oldest first and the newest last.. is there a way to fix this? could not find a setting to change this. |
|
Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Mon May 01, 2006 3:39 am Post subject: |
|
|
its not showing the url for me  |
|
Back to top |
|
 |
maxoudu328 Voice
Joined: 02 May 2006 Posts: 4
|
Posted: Tue May 02, 2006 1:28 pm Post subject: |
|
|
hello,
I LOVE your script ...
but
....
How i can display the output just with a NOTICE and not in the public channel, beacause it's really bad for my utilisation ...
Thx to ur help :>
C ya |
|
Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Wed May 03, 2006 3:17 am Post subject: |
|
|
i'm no expert but if you change
putserv "PRIVMSG $chan :$msg"
to "NOTICE $nick :$msg"
it should do the trick |
|
Back to top |
|
 |
maxoudu328 Voice
Joined: 02 May 2006 Posts: 4
|
Posted: Wed May 03, 2006 4:55 am Post subject: |
|
|
Yea i know that but, if i change :
Code: |
roc ::rss-synd::outputFeed {feedlist newslist {oldfeed ""}} {
array set feed $feedlist
array set news $newslist
if {$oldfeed != ""} { array set old $oldfeed }
if {[llength $oldfeed] > 1} { array set last [lindex $old(item) 0] }
set i 0
foreach item $news(item) {
array set tmp $item
if {([info exists feed(max-output)]) && ($i == $feed(max-output))} { break }
if {([info exists last(title)]) && ([string match $last(title) $tmp(title)])} { break }
putserv "PRIVMSG [join $feed(channels) ", "] :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
incr i
}
}
|
by
Code: |
roc ::rss-synd::outputFeed {feedlist newslist {oldfeed ""}} {
array set feed $feedlist
array set news $newslist
if {$oldfeed != ""} { array set old $oldfeed }
if {[llength $oldfeed] > 1} { array set last [lindex $old(item) 0] }
set i 0
foreach item $news(item) {
array set tmp $item
if {([info exists feed(max-output)]) && ($i == $feed(max-output))} { break }
if {([info exists last(title)]) && ([string match $last(title) $tmp(title)])} { break }
putserv "NOTICE $nick :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
incr i
}
}
|
It dosen't work :> it's the raison of my question  |
|
Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Wed May 03, 2006 5:34 am Post subject: |
|
|
sorry.
did you rehash? |
|
Back to top |
|
 |
maxoudu328 Voice
Joined: 02 May 2006 Posts: 4
|
Posted: Wed May 03, 2006 6:44 am Post subject: |
|
|
yea yea i did, but in the p-l i have an error with this line, so i think it's wrong .
Script dev i need your help plz . |
|
Back to top |
|
 |
flashy Voice
Joined: 01 May 2006 Posts: 24
|
Posted: Wed May 03, 2006 7:56 am Post subject: |
|
|
your script is changed from the original
try maybe removing $nick
"NOTICE $nick :[[namespace current]::formatOutput $feedlist $news(channel) $item]"
to
putserv "NOTICE :[[namespace current]::formatOutput $feedlist $news(channel) $item]" |
|
Back to top |
|
 |
pennst26 Voice
Joined: 12 May 2006 Posts: 8
|
Posted: Fri May 12, 2006 2:44 pm Post subject: |
|
|
Hello, hopefully someone can help me fix these errors .
I am trying to run this TCL on Windrop on my local machine (XP)
Here are the steps I have taken and the errors that followed.
After installing TCL and then windrop , I edited the conf file and got windrop to enter my channel. Then I added this to to .conf file
Code: | # source scripts/script.tcl
source scripts/rss-synd.tcl
source scripts/alltools.tcl
source scripts/action.fix.tcl |
when I run eggdrop from cmd it then gives this error
Code: | [13:12] Tcl error in file 'eggdrop.conf':
[13:12] can't find package http
while executing
"package require http"
(procedure "::rss-synd::init" line 5)
invoked from within
"::rss-synd::init"
(file "scripts/rss-synd.tcl" line 889)
invoked from within
"source scripts/rss-synd.tcl"
(file "eggdrop.conf" line 1321)
[13:12] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
After some reasonable amount of time on Google, I found a solution that says load http.tcl before all scripts. I had trouble finding a http.tcl , but then I looked in \Windrop\lib\tcl8.4\http1.0 I then copied this file to scripts folder, then called for it to load above the previous scripts. When I run eggdrop now, it says this.
Code: | [13:26] ☻RSS Error☻: Unable to find tls package required for https, unloaded fe
d "https-test".
[13:26] ☻RSS Syndication Script☻: Loaded. |
The bot enters channel, and I try some of the scripts default/sample triggers and nothing at all happens. I open eggdrop.log and I have these errors. Code: | [13:27] Tcl error [::rss-synd::getFeeds]: invalid command name "::http::config"
[13:27] RSS Warning: Couldn't open "./scripts/feeds/bash.db": no such file or directory.
[13:27] [pennst26!neighborho@xbox.ownz.all.console] !bash
[13:28] Tcl error [::rss-synd::getFeeds]: invalid command name "::http::config"
[13:30] Last message repeated 2 time(s). |
Anybody know what I am doing wrong here?
How can I fix this? |
|
Back to top |
|
 |
|