Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-02

html scrapping library

7 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

Does anyone know of FPC/Object Pascal in Linux an HTML scrapping library ? I wish to create a small application for my cell phone (N900) and wanted to use FPC+Lazarus instead of doing it with Ruby (and release it under MIT).

Thanks,
Ido

LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il

Gene Buckle
to Ben
Ben wrote
What does a "html scrapping library" do?

The person may mean "scraping" (to scrape).

g.

Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.simpits.org/geneb - The Me-109F/X Project ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! Political correctness is a doctrine, fostered by a delusional, illogical minority, and rabidly promoted by an unscrupulous mainstream media, which holds forth the proposition that it is entirely possible to pick up a turd by the clean end.
ik
to Ben: What does a "html scrapping library" do? Ben.
Ben wrote
What does a "html scrapping library" do?

I have a spelling error, it's HTML scraping, it means to read HTML (and few other contents on the web), and extract information using for example CSS elements (that is #id .class:first) will brings the first data inside of "id" of the element with the "class" content.

Another way is to extract information using XPath (for xml).

At the end it's a data mining for specific type of information.

Show quoted text 11 lines
-- Ben. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Ido

José Mejuto
to ik

Hello FPC-Pascal,

Tuesday, February 15, 2011, 6:08:29 PM, you wrote:

i> I have a spelling error, it's HTML scraping, it means to read HTML (and few i> other contents on the web), and extract information using for example CSS i> elements (that is #id .class:first) will brings the first data inside of i> "id" of the element with the "class" content.
i> Another way is to extract information using XPath (for xml). i> At the end it's a data mining for specific type of information.

Almost all scrapers I had used in the past were built using regular expressions, so the regexp engine should be more than enought.

Best regards, José