Using CNN Headlines code to create dynamic HTML pages
Okay gang.
Here is what I am trying to do. I have got the CNN Headlines working perfectly withing Homeseer (and subsequently in MainLobby as well). But I am unsure how to properly modify the CNN Headlines code to take the link for the news article (and the necessary code to make it show the 'Printer-Friendly' Version, which works really well) and create a simple redirect html page saved on the local computer.
For Example:
Headline 3 (w93) contains:
"Fierce fighting rages in Somali capital"
I understand the coding enough to make a modification to create the 'printer-friendly' url
Headline URL 3 (x93) contains:
http://cnn.law.printthis.clickabilit...785/index.html
As you can tell from the '?', '=', '&' and the '~' Mainlobby doesn't respond well to this being directly inputted as a default page. However the workaround would be to have a local page that redirects to the above URL, and then there wouldn't be the same problem.
So any ideas how to, or at least what code is necssary to create a text file and save it as an html file from notepad within the CNN Breaking news code?
Any ideas/suggestions/comments much appreciated.
Thank you so very much in advance
Russell Albright
Okay gang.
Here is what I am trying to do. I have got the CNN Headlines working perfectly withing Homeseer (and subsequently in MainLobby as well). But I am unsure how to properly modify the CNN Headlines code to take the link for the news article (and the necessary code to make it show the 'Printer-Friendly' Version, which works really well) and create a simple redirect html page saved on the local computer.
For Example:
Headline 3 (w93) contains:
"Fierce fighting rages in Somali capital"
I understand the coding enough to make a modification to create the 'printer-friendly' url
Headline URL 3 (x93) contains:
http://cnn.law.printthis.clickabilit...785/index.html
As you can tell from the '?', '=', '&' and the '~' Mainlobby doesn't respond well to this being directly inputted as a default page. However the workaround would be to have a local page that redirects to the above URL, and then there wouldn't be the same problem.
So any ideas how to, or at least what code is necssary to create a text file and save it as an html file from notepad within the CNN Breaking news code?
Any ideas/suggestions/comments much appreciated.
Thank you so very much in advance
Russell Albright
Comment