
PHP Simple HTML DOM Parser Help
- or -
Post a project like this4711
$$
- Posted:
- Proposals: 1
- Remote
- #290337
- Awarded
Description
Experience Level: Intermediate
Please give me your best price for this job.
I am using PHP Simple HTML DOM Parser to grab html from another source and display it on my page.
Here's an example - http://electrikpublishing.com/scrape/html.php?q=bbc.co.uk/news
q is the variable here - you can replace with any site - but don;t include http://
I am trying to fetch the html and place a link to jquery in the head and also javascript before the closing body tag.
-------
What I need...
The issue is with parsing the links and img src's if they do not show the full path.
I have found some help here: http://stackoverflow.com/questions/12288602/php-simple-html-dom-parser-modify-fetched-links
but need someone to help put this in my code.
---
Also needed..
If the link on the website is on the same domain then I want to route the links through my script again.
so if q(link) = q(link) - where q is the same domain then it should link to...
http://electrikpublishing.com/scrape/html.php?q=q(link).
I'm trying to explain this the best I can so please feel free to ask any questions.
I can also supply code if needed.
Thanks
Nick
I am using PHP Simple HTML DOM Parser to grab html from another source and display it on my page.
Here's an example - http://electrikpublishing.com/scrape/html.php?q=bbc.co.uk/news
q is the variable here - you can replace with any site - but don;t include http://
I am trying to fetch the html and place a link to jquery in the head and also javascript before the closing body tag.
-------
What I need...
The issue is with parsing the links and img src's if they do not show the full path.
I have found some help here: http://stackoverflow.com/questions/12288602/php-simple-html-dom-parser-modify-fetched-links
but need someone to help put this in my code.
---
Also needed..
If the link on the website is on the same domain then I want to route the links through my script again.
so if q(link) = q(link) - where q is the same domain then it should link to...
http://electrikpublishing.com/scrape/html.php?q=q(link).
I'm trying to explain this the best I can so please feel free to ask any questions.
I can also supply code if needed.
Thanks
Nick
Purple9
100% (190)Projects Completed
191
Freelancers worked with
136
Projects awarded
21%
Last project
11 Feb 2026
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies