Link to home
Start Free TrialLog in
Avatar of xenium
xenium

asked on

Displaying a simple HTML page from input embedded into a URL (part III)

hi,

I need to adapt the following script to allow any custom list of URLs + display text to show:

https://www.experts-exchange.com/questions/29086239/Displaying-a-simple-HTML-page-from-input-embedded-into-a-URL-part-II.html

Example:

Input URL:

mypage.html/links==Click for apples##https://www.google.com/search?q=apples@@Or for oranges##https://www.bing.com/search?q=oranges

Displayed output:

Click for apples
Or for oranges

Thanks
Avatar of xenium
xenium

ASKER

In the above example the delimiters are @@ between URLs and ## between display text and URL, though other delimiters could be used.
SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
URL's of what schema? Cause your input "URL"'s are none. At least I don't recognize the protocol.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xenium

ASKER

Great thanks a lot.
Avatar of xenium

ASKER

Any idea why the page works on my local pc but not if i copy it to my server (bluehost)?
It shouldn't matter where it is - the code runs in the browser?

Any errors in the console