I've decided to write a script to parse the news headlines from BeOSCentral.com, using the back-end that provides the info in one big chunk of plain text. It's a long, single line of text, with multiple parts each in this format:
%% Headline Text <date> <time> <article URL> <brief description>My question is, how can I separate each of these blocks of data from this big block that I get from the back-end, and then work with the headline, date, etc. as I wish? What would be the best approach to splitting this up?
Thanks for any tips you can provide. :-)
In reply to Parsing News from a Site Backend by Segfault
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |