The 30 char title limit, coupled with the limited screen width of the EPG display, shows up a bit of a problem with some of the feeds. I use Robbos, and his feeds preface some titles with things like "Documentary Series:", "Sport: ", "Cooking Series:", etc. It means that you get a display on the TV EPG of
19:00 Cooking Series: Ming shows what he is coo
which doesn't show what the episode is about.
I mucked around with Dave's awk script and added some lines to remove some of these things. It searches for some particular entries, then removes the first part of the entry up to the ':' and the blank space after it.
Here is the section that changes the titles:
CODE
# For full length titles
title = getfield( "title", rec )
if ( title ~/Documentary.?Series:/ ) { title = substr(title, index(title, ":") + 1, index(title, ":") + 31 ) } else
if ( title ~/Special:/ ) { title = substr(title, index(title, ":") + 1, index(title, ":") + 31 ) } else
if ( title ~/Sport:/ ) { title = substr(title, index(title, ":") + 1, index(title, ":") + 31 ) } else
if ( title ~/Cooking.Series:/ ) { title = substr(title, index(title, ":") + 1, index(title, ":") + 31 ) } else
if ( title ~/Friday.?Night.?Football/ ) { title = substr(title, index(title, ":") + 1, index(title, ":") + 31 ) } else
if ( title ~/Rugby.?Union:/ ) { title = substr(title, index(title, ":") + 1, index(title, ":") + 31 ) } else
if ( title ~/Afl:/ ) { title = substr(title, index(title, ":") + 1, index(title, ":") + 31 ) }
# Now shorten everything to 30 chars
title = substr( title, 1, 30 )
You can see what I've done. I searched the xml listing and these were the only ones I wanted to remove; you don't want to remove all entries with colons because some of them are descriptive, like "The West Wing: President Barrett etc". You may like to add some more entries, just follow the format above and don't forget the 'else' at the end of the line.
I should mention a big kudos to Dave for the very flexible way he has designed his tool. By putting the grunt of the editing into an awk script, he has made it possible for us to edit it to suit our own preferences. Very good software design Dave, as I'm sure you're aware

.
Nick