I want to create a kind of directory list of all the photo galleries on my site with their ID number and title. I know how to extract the ID number form the URL, but am unsure of how to extract the page titles of each gallery automatically. Can someone please help me?
This should really be done server side (using PHP, ASP, etc.) as a JavaScript solution will be inaccessible to people (and search engines) with JavaScript disabled. However, you can get the title (as defined in the <title> element in your <head>) via:
Alright. I post this in the PHP forum then. I was trying to create a page I could run off my local machine without having to use a server, but I'll make it work. Thanks for the help.