egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RSS news by demond
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11, 12  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
stalix
Voice


Joined: 13 Sep 2005
Posts: 23

PostPosted: Sat Oct 28, 2006 6:14 pm    Post subject: Reply with quote

What need for put the URLs in public ? Embarassed
Back to top
View user's profile Send private message
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Mon Oct 30, 2006 9:45 pm    Post subject: Problem by Umlaut Channels (Chans have ä ö ü sign into) Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Nov 01, 2006 4:46 am    Post subject: Reply with quote

stalix, add ($link) to this line: puthelp "privmsg $chan Sad$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
View user's profile Send private message Visit poster's website
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Wed Nov 01, 2006 11:23 pm    Post subject: Reply with quote

can you make the first line in code? i see a smiley in this line.

thank you very much
Back to top
View user's profile Send private message
chandra Sha
Voice


Joined: 31 Oct 2006
Posts: 12
Location: South Borneo

PostPosted: Thu Nov 02, 2006 6:52 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Thu Nov 02, 2006 7:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Thu Nov 02, 2006 7:04 pm    Post subject: Reply with quote

demond wrote:
stalix, add ($link) to this line: puthelp "privmsg $chan Sad$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
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Thu Nov 02, 2006 7:11 pm    Post subject: Reply with quote

add ($link) to this line
Code:
puthelp "privmsg $chan :($idx) $title"
Back to top
View user's profile Send private message
Zerg
Halfop


Joined: 20 May 2006
Posts: 49

PostPosted: Thu Nov 02, 2006 7:59 pm    Post subject: @demond Reply with quote

the script changes dont work on the umlaut channel.
Sad
Back to top
View user's profile Send private message
clutch9
Voice


Joined: 08 Nov 2006
Posts: 1

PostPosted: Wed Nov 08, 2006 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Nov 12, 2006 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
cytralskunk
Voice


Joined: 29 Nov 2006
Posts: 3

PostPosted: Wed Nov 29, 2006 4:24 pm    Post subject: timer Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Dec 01, 2006 3:30 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
zSolo
Voice


Joined: 02 Feb 2007
Posts: 9

PostPosted: Fri Feb 02, 2007 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Feb 03, 2007 11:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11, 12  Next
Page 9 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber