CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: data Parsing for Newbie (many Html-files): Edit Log



dilbert
User

Sep 22, 2010, 2:02 AM


Views: 2377
data Parsing for Newbie (many Html-files)

hi

ve got 25 Tsd files - all are stored in one folder.

each site contains Adresses (see below) Each data-set has got a unique ID-Number!

First task is to take all the 25 thousand html-files and to strip out - (parse) the therein contained adress-sets.
This is a Perl-task! Sure thing!


see a dataset:

Name: Mister Miller
Adresse:
Telefon:
Fax:
ID-Nummer: 2210202
Mail-Adress: Mister_Miller@hotmail.com
Website: short url: http://www.TheWEBsite.org/[ID-Number - here 2210202]


The second task can be done with Perl:

In the last line of Adress-set there is an URL - with a short-way that is build up with two pieces


http://www.TheWEBsite.org/[ID-Number - here 2210202]

in order to rebuild the original URL i have to set the url together and call it.... short url: http://www.TheWEBsite.org./[ID-Number]


how should i do this second task!?

look forward to hear from you


(This post was edited by dilbert on Sep 22, 2010, 3:28 PM)


Edit Log:
Post edited by dilbert (User) on Sep 22, 2010, 3:28 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives