#!/bin/bash

# wminfo plugin: headlines from Spanish service bbc.co.uk/mundo/

# command: wminfo -p bbc-mundo.wmi -i 1 -b#5c0000 -f#ffffff

lynx --source localhost/wminfo/bbc-mundo.html | \
	perl -pe 's/\n/ /g' | \
	sed 's/</\n</g' | \
	egrep 'hard-news-unit__headline-link|rolling-news__story__headline' | \
	sed -E 's/<.*>//;s/^\s+//;' | \
	utf8-iso1 | \
	punctuation
echo
