Webpage Help

Status
Not open for further replies.

capmorgan

New member
Dec 2, 2007
53
2
0
I have a list of youtube titles, and links in an xml file, and am using this to dynamically generate a webpage. I would like to be able to generate a new webpage in another window when someone clicks a link. The links will change all the time without me knowing so this must be done in a way that the new webpage already has the embed codes, and the page will generate on the fly with the link clicked on.

Hope this makes since. I have looked all over the net, tried things on my own, and have read through the forum but am still stuck. Can someone help me with this. Thanks
 


Maybe this is too specific of a question. Can anyone at least let me know if it is possible to generate a webpage by pulling info from a link clicked on. If so can someone at least refer me to where I could start researching this. Maybe what language is best. Thanks
 
HUH?

Please try making real sentences with actual words and grammar and such thingamajigs...
If YOU have the xml file and YOU GENERATE the webpage out of that data, how can the links change WITHOUT YOU KNOWING?

::emp::
aka: Confused old man
 
That is my trying to explain something that I do not know about.

Maybe some details would help. I have scraped youtube video links through yahoo pipes and can put the yahoo pipe into rss, or xml. The scrape includes the title, and the youtube link. I want to display the content on a website, but do not want to embed the video on every title. Since the scrape happens everytime the xml is viewed I have no way of knowing what youtube link will be pulled, so would like to generate the embeded video when the link is clicked

Example:

Title :policeman vs. Fireman
link:YouTube - Policeman vs. Fireman

The web site visitor would see the title of the video. When the Title was clicked a new page would popup with the below code in it

<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/Jr8n0ww3pio&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/Jr8n0ww3pio&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>

I am assuming that there is a way to do this because I remember reading that a website could be updated from a keyword used when coming to the site.

Anyone tried anything like this before?
 
The link showed up as the actual link when I only want to show the text of it.
Here is is again:h**p://www.youtube.com/watch?v=Jr8n0ww3pio
 
personally, I would use php. I would put the yahoo pipe into rss mode, and use simplepie ( google it ) to read the rss. Then I would take that feed information and write a page with what you have in the first case... ul -> li -> title, link. The link would have a 'target="_blank" ' attribute to make it open in a new window.

alternatively I'd use a javascript window.open() call to open a smaller "player window."

You could do the same with perl, ruby, c , et cetera. I just know php best.
 
Status
Not open for further replies.