Html Parser for PHP

Encerrado Postado Jun 24, 2006 Pago na entrega
Encerrado Pago na entrega

I need someone to write me a php function that has 2 input, Eg: HtmlPar($Htmltext,$BaseURL). $Htmltext is a variable containing the complete html for a webpage. $BaseURL is the URL of the webpage i get the $HtmlText from The function should parse the html codes in $HTMLtext and then should convert all relative LINKS & IMAGES to their absolute location. Please read the example below carefully.. all links used are fictacious but should illustrate what i'm trying to get across. _________________________ EG lets take google as example: $BaseURL=[login to view URL] ![Google][1] should be converted to ![Google][2] [Google News][3] ______________________________ The function should be smart enough so that it will know which images & links in $Htmltext are relative ones and which are absolute ones. Those relative links and images should be converted to their respective absolute adress. It should also be intelligent enough to accept various format of $BaseURL EG: [login to view URL], [login to view URL], or [login to view URL], or [login to view URL] This is a pretty simple function and i'm sure many of your out there already have done it. If you need any 3rd part lib/class please specify which ones in ur bid. EG CURI, SNOOPY etc...But from the way i see it, just regular expression should be enough. So please send me your bids. Thanks a million =)

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Linux LAMP Server and Windows apache with php installed

Engenharia MySQL PHP Arquitetura de software Teste de Software Interface do usuário / AI Hospedagem Web Gestão de Site Teste de Website

ID do Projeto: #3599476

Sobre o projeto

12 propostas Projeto remoto Ativo em Jul 16, 2006

12 freelancers estão ofertando em média $40 nesse trabalho

MediatreeTn

See private message.

$85 USD in 6 dias
(121 Comentários)
7.5
betatea

See private message.

$42.5 USD in 6 dias
(572 Comentários)
7.4
farroid

See private message.

$42.5 USD in 6 dias
(93 Comentários)
6.9
herbertd

See private message.

$12.75 USD in 6 dias
(100 Comentários)
5.5
DIBarit

See private message.

$12.75 USD in 6 dias
(117 Comentários)
5.4
covidiu

See private message.

$42.5 USD in 6 dias
(33 Comentários)
4.7
Matija

See private message.

$42.5 USD in 6 dias
(41 Comentários)
4.5
sidney137

See private message.

$46.75 USD in 6 dias
(10 Comentários)
4.6
mishadobrov

See private message.

$8.5 USD in 6 dias
(23 Comentários)
4.2
astong

See private message.

$29.75 USD in 6 dias
(9 Comentários)
2.7
indrasyafru

See private message.

$85 USD in 6 dias
(7 Comentários)
2.1
caducaducadu

See private message.

$34 USD in 6 dias
(2 Comentários)
0.0