Rewrite HTML content

Add-in Express™ Support Service
That's what is more important than anything else

Rewrite HTML content
Search HTML for a pattern and modify the string 
Gavin Rolfe




Posts: 2
Joined: 2011-01-06
Hello,

Is it possible to use ADX to modify the HTML content when the page is loading.

My aim is to search the HTMLcontent for telephone numbers and convert them to hyperlinks.

If this is possible i would be greatful if anyone can give me some pointers.

Thank You for your time.

Gavin

Before:

<ht ml>
<body>
01234 123456
</body>
</html>


After:

<ht ml>
<body>
<a href="dial:01234123456">01234 123456</a>
</body>
</html>
Posted 06 Jan, 2011 13:09:30 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Gavin.

You can modify the web page after it has been loaded by IE. It can be done in the DownloadComplete event handler.
Posted 10 Jan, 2011 08:02:08 Top
Gavin Rolfe




Posts: 2
Joined: 2011-01-06
Thats great news.

Do you have any sample VB code that could help get me started.

Gavin
Posted 10 Jan, 2011 17:20:45 Top
Eugene Astafiev


Guest


Hi Gavin,

Please have a look at the http://www.add-in-express.com/products/internet-explorer-search.php. It is a good start point for you.
Posted 11 Jan, 2011 04:43:49 Top