| View previous topic :: View next topic |
| Author |
Message |
stalix Voice
Joined: 13 Sep 2005 Posts: 23
|
Posted: Sat Oct 28, 2006 6:14 pm Post subject: |
|
|
What need for put the URLs in public ?  |
|
| Back to top |
|
 |
Zerg Halfop
Joined: 20 May 2006 Posts: 49
|
Posted: Mon Oct 30, 2006 9:45 pm Post subject: Problem by Umlaut Channels (Chans have ä ö ü sign into) |
|
|
| Code: | <bot> Breaking news from WinFuture.de | WinFuture.de - Das Windows Online Magazin!
<bot> (1) Auslieferung des Internet Explorer 7 als Update laeuft
<bot> (2) nLite 1.2.1 - Windows Installations-CD abspecken
<iam> !news win 2
-bot- no news from win on #bärchen |
The bot can´t to remind the infos that he posts in the chan. I think he saved the infos in a data but the umlaut in the data is than a other sign that in the irc... |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Nov 01, 2006 4:46 am Post subject: |
|
|
stalix, add ($link) to this line: puthelp "privmsg $chan $idx) $title"
Zerg, try typing !news on a channel you have joined by typing its name exactly as specified in script's feeds array
I have released a new version 2.2; it's all but certain that would be the last one, I'm fed up with this
new stuff:
- HTTP redirect support
- partyline command .rss to manage feeds (add/del/list)
- the script now does not require TclLib for feeds needing authorization
- I decided against implementing utf-8 support as it's being transformed to the default iso8859-1 encoding anyway... or not, in the case of Japanese, Chinese and other non-european languages, but whoever needs to use such feeds should upgrade to mIRC 6.2 which supports utf-8
_________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Zerg Halfop
Joined: 20 May 2006 Posts: 49
|
Posted: Wed Nov 01, 2006 11:23 pm Post subject: |
|
|
can you make the first line in code? i see a smiley in this line.
thank you very much |
|
| Back to top |
|
 |
chandra Sha Voice

Joined: 31 Oct 2006 Posts: 12 Location: South Borneo
|
Posted: Thu Nov 02, 2006 6:52 am Post subject: |
|
|
to see new i must type on channel !news <feed name> [news index #] ex: !news google 1 to seen no 1 google news.
can script change to show only 1st news but automatic, without any one type !news |
|
| Back to top |
|
 |
Zerg Halfop
Joined: 20 May 2006 Posts: 49
|
Posted: Thu Nov 02, 2006 7:02 pm Post subject: |
|
|
stalix, add ($link) to this line: puthelp "privmsg $chan Sad$idx) $title"
| Quote: |
stalix, add ($link) to this line: puthelp "privmsg $chan Sad$idx) $title"
|
| Code: |
stalix, add ($link) to this line: puthelp "privmsg $chan Sad$idx) $title"
|
|
|
| Back to top |
|
 |
Zerg Halfop
Joined: 20 May 2006 Posts: 49
|
Posted: Thu Nov 02, 2006 7:04 pm Post subject: |
|
|
| demond wrote: | stalix, add ($link) to this line: puthelp "privmsg $chan $idx) $title"
Zerg, try typing !news on a channel you have joined by typing its name exactly as specified in script's feeds array
I have released a new version 2.2; it's all but certain that would be the last one, I'm fed up with this
new stuff:
- HTTP redirect support
- partyline command .rss to manage feeds (add/del/list)
- the script now does not require TclLib for feeds needing authorization
- I decided against implementing utf-8 support as it's being transformed to the default iso8859-1 encoding anyway... or not, in the case of Japanese, Chinese and other non-european languages, but whoever needs to use such feeds should upgrade to mIRC 6.2 which supports utf-8
|
please can you make the first line in code? i see a smiley and i dont know what the signs you use.
thank you very much |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Thu Nov 02, 2006 7:11 pm Post subject: |
|
|
add ($link) to this line
| Code: | | puthelp "privmsg $chan :($idx) $title" |
|
|
| Back to top |
|
 |
Zerg Halfop
Joined: 20 May 2006 Posts: 49
|
Posted: Thu Nov 02, 2006 7:59 pm Post subject: @demond |
|
|
the script changes dont work on the umlaut channel.
 |
|
| Back to top |
|
 |
clutch9 Voice
Joined: 08 Nov 2006 Posts: 1
|
Posted: Wed Nov 08, 2006 4:54 am Post subject: |
|
|
Hello there Demon and MANY thanks for your nice rss script announcer. It's the best I've found yet on the net. I've modified the script so it will report the link directly into channel, and I also increased the timeout a little.
Feature requests:
- Check if link or headline is dupe. I have some feeds that report the same link (e.g. a news service have both local and global news. I do not want it to spam the same link twice). The same if headline is same. I know this would probably also disable that the script detects changes in a link, but I don't care about that, and I know many others also agree. So maybe there should be an option for using link as unique check?
- Report how old the news is (if date is found) in a style where it says how old it is. E.g. 20min or 1h20min etc. As a start it would be enough for me that dc:date was just echoed without processing. "2006-11-08T07:43:03+01:0" would be fine. I would really like to also filter on "do not post news older than 1 hour" or similar.
- Better stripping spaces from $title. It seem like I get a lot of $title containing " Headline" e.g. from http://pub.tv2.no/nettavisen/ut/rss/nettavisen.xml
- Can I have feed name in [] like e.g. if feedname is CNN then the bot sends [CNN] <text> |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Nov 12, 2006 3:52 pm Post subject: |
|
|
the thing with the date is that its tag could be something other than <dc:date>, for example <pubDate>; also, its format is not specified, therefore it can't be interpreted as number and you need such interpretation in order to be able to compare dates and time intervals
hashing by URL and not title is of course possible, as is fixing of the other small glitches you talk about; unfortunately, as I said above, I'm fed up with eggdrop scripting and it's highly unlikely I'll ever update this script _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
cytralskunk Voice
Joined: 29 Nov 2006 Posts: 3
|
Posted: Wed Nov 29, 2006 4:24 pm Post subject: timer |
|
|
is there anyway to limit the number of headlines it spits out when you do !news feed.. im getting 40 lines on some feeds. Thanks
-cytralskunk |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Dec 01, 2006 3:30 am Post subject: |
|
|
no, but you can easily code that yourself, by adding a counter variable inside the [foreach] loop in proc [news] _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
zSolo Voice
Joined: 02 Feb 2007 Posts: 9
|
Posted: Fri Feb 02, 2007 7:49 pm Post subject: |
|
|
For some reason, Its not annouceing the news as it comes. : / Any suggestions
It Updates:L
How do i get it to Update faster or to annouce as soon as the new news is posteded demond
Last edited by zSolo on Sat Feb 03, 2007 11:10 pm; edited 1 time in total |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Feb 03, 2007 11:05 pm Post subject: |
|
|
| zSolo wrote: | | For some reason, Its not annouceing the news as it comes. : / Any suggestions |
yes, the usual - see what error msg you get on bot's console (dcc party line) _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
|