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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.