HTML view page title

BlitzPlus Forums/BlitzPlus Programming/HTML view page title

Arem(Posted 2005) [#1]
Is there anyway to find out the title of the page that an html viewer is at?


Sonari Eclipsi Onimari(Posted 2005) [#2]
First, you open a tcp stream to the page, see the networking examples in the code arcs (BlitzGet)

Second, look for...

<title>THE TITLE IS HERE</title>

set a varable of this string
title$=readline$(remote_page)

then, put this in your proggy

html_title$=mid$(title$,8,endpos)


endpos is a varable that I will let you figure out. endpos is how many characters to move to the right from 8.

Luck

-SEO