Html Parser for PHP

Закрито Опубліковано %project.relative_time Оплачується при отриманні
Закрито Оплачується при отриманні

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

Техніка MySQL PHP Архітектура ПЗ Тестування ПЗ Інтерфейс користувача / Інформаційна архітектура Веб-хостинг Управління веб-сайтами Тестування сайтів

ID Проекту: #3599476

Про проект

12 заявок(-ки) Дистанційний проект Остання активність Jul 16, 2006

12 фрілансерів(-и) готові виконати цю роботу у середньому за $40

MediatreeTn

See private message.

$85 USD за 6 дні(-в)
(121 відгуків(и))
7.5
betatea

See private message.

$42.5 USD за 6 дні(-в)
(572 відгуків(и))
7.4
farroid

See private message.

$42.5 USD за 6 дні(-в)
(93 відгуків(и))
6.9
herbertd

See private message.

$12.75 USD за 6 дні(-в)
(100 відгуків(и))
5.5
DIBarit

See private message.

$12.75 USD за 6 дні(-в)
(117 відгуків(и))
5.4
covidiu

See private message.

$42.5 USD за 6 дні(-в)
(33 відгуків(и))
4.7
Matija

See private message.

$42.5 USD за 6 дні(-в)
(41 відгуків(и))
4.5
sidney137

See private message.

$46.75 USD за 6 дні(-в)
(10 відгуків(и))
4.6
mishadobrov

See private message.

$8.5 USD за 6 дні(-в)
(23 відгуків(и))
4.2
astong

See private message.

$29.75 USD за 6 дні(-в)
(9 відгуків(и))
2.7
indrasyafru

See private message.

$85 USD за 6 дні(-в)
(7 відгуків(и))
2.1
caducaducadu

See private message.

$34 USD за 6 дні(-в)
(2 відгуків(и))
0.0