Advertisement
rowntreerob

weblogs changes feed to url list

Jan 27th, 2013
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. /* get a uniq list of urls from Weblogs that represent the last 5 minutes of RSS pings */
  2. curl http://rpc.weblogs.com/shortChanges.xml | \
  3. sed '/^$/d' | awk '{ split($0,a,"url="); print a[2]}' | \
  4. awk '{print $1}' | awk -F\" '{print $2}' | \
  5. sed '/\(http.*\)\{2\}/d' | sort | uniq > uniqweblogs_out.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement