LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Slashdot New Story Notifier ;)

[ILUG] Slashdot New Story Notifier ;)

Guest, Ken kengu at credo.ie
Wed May 3 18:15:10 IST 2000


Heh,
http://www.linux.ie/backend/ also springs to mind.


#-----Original Message-----
#From: McDaid, Aaron [mailto:Aaron.McDaid at compaq.com]
#Sent: 03 May 2000 17:02
#To: Ilug (E-mail)
#Subject: [ILUG] Slashdot New Story Notifier ;)
#
#
#Thought some of you might like this:
#Should I GPL it ;) Maybe I could generalize it
#to check a few others sites (including kuro5hin.org,
#segfault.org etc.)
#It's a bit messy but then again I don't claim to
#be a shell scripting expert (I'll have a look at
#http://www.linuxnewbie.org/nhf/intel/programming/introbashscript.html
#mentioned in recent days)
#
##!/bin/bash
#cd ~hoss10/checkslash
#cp new old
#wget -O - slashdot.org|./firststory.pl>new
#if (test ! -s new) then
#  cp old new
#fi
#if !(diff new old) then
#  cat new|smbclient -M dcsu_2000
#fi
#
#It's run by cron every 5 minutes on a Linux machine
#in a server room here in work. It there's been a
#new story since the last time it ran it uses
#smbclient (part of samba) to pop a message on any/most
#Windows boxes. ie. my win2k box
#
#The firststory.pl is a perl script that reads the
#first story title from STDIN and puts it on STDOUT
#
#The first if statement is in case there was an error,
#which would leave new empty and then notify me about
#the same story twice!
#
#Saves me refreshing www.slashdot.org every 5 minutes
#when I'm bored
#
#-- 
#Irish Linux Users' Group: ilug at linux.ie
#http://www.linux.ie/mailman/listinfo/ilug for (un)subscription 
#information.
#List maintainer: listmaster at linux.ie
#




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell