#!/bin/bash

# wminfo plugin: headlines from German service spiegel.de

# command: wminfo -p spiegel.wmi -i 1 -b#bb010e -f#ffffff

lynx --source localhost/wminfo/spiegel.html | \
	perl -pe 's/<span class="headline">/\n<span class="headline">/g;s/<\/span>/<\/span>\n/g' | \
	grep 'class="headline"' | \
	perl -pe 's/<.*?>//g' | \
	punctuation
echo

