| View previous topic :: View next topic |
| Author |
Message |
tungsten Voice
Joined: 22 Apr 2014 Posts: 1
|
Posted: Tue Apr 22, 2014 9:02 am Post subject: XML to channel |
|
|
Hey.... I'm looking for a script for days now
I need a script that simply posts every x seconds the data from an xml..
xml:
<vote>
<name>001</name>
<votes>12</votes>
</vote>
<vote>
<name>002</name>
<votes>10</votes>
</vote>
<vote>
<name>003</name>
<votes>9</votes>
</vote>
the xml is generated by a cron job... the eggdrop should post it like:
<nick>Current votes: 001: 12 votes | 002: 10 votes | 003: 9 votes
thats all
I'm a total noob when i comes to tcl... so is there a script that does this already? (maybe almost like that?)
The news scripts i tried are bloated and big - too difficult if you dont have a clue
thx in advance |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Wed Apr 23, 2014 7:50 am Post subject: |
|
|
Try using an RSS reader, they can post things for eggdrop like rss-synd, using XML. Just view the page source and edit the output accordingly. _________________ We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals. |
|
| Back to top |
|
 |
|