|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
need a little help with html/script. Who can help?
This is what i want to do.I would like to copy a part of a html source line on to the page so that it shows it as a link.
so lets say line 39 has the following ''<embed width="320" height="280" border="0" align="baseline" src="../../../../moviecontent/asian/asianpounding/wmv/1/movies/01.wmv" autostart="true" showcontrols="true" controller="true" showpositioncontrols="false" showaudiocontrols="true" showtracker="true" showstatusbar="false" autosize="true" scale="aspect" autorewind="false" allowscan="true" enablecontextmenu="true" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/"> </embed>'' that is all shown on line 39. Now i want to have a link visible on the page with a part as it to link to. So it has to copy a part of that link to link to that url. Now the part i want to link is ''../../../../moviecontent/asian/asianpounding/wmv/1/movies/01.wmv'' Ok does any one know what i mean and who can help me or point me to a side that can. Thanks all. |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
not me sorry !
|
|
|
|
#3 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
i have been looking for this like ages and i can't find it any where on the web. i am sure that some people must have had the same problem.
|
|
|
|
|
|
#4 |
|
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
<a href="../moviecontent/asian/asianpounding/wmv/1/movies/01.wmv"><embed width="320" height="280" border="0" align="baseline" src="../../../../moviecontent/asian/asianpounding/wmv/1/movies/01.wmv" autostart="true" showcontrols="true" controller="true" showpositioncontrols="false" showaudiocontrols="true" showtracker="true" showstatusbar="false" autosize="true" scale="aspect" autorewind="false" allowscan="true" enablecontextmenu="true" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/"> </embed></a>
|
|
|
|
|
|
#5 | |
|
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
Quote:
huh how about PHP Code:
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
the thing that i would if i haven't had made all the page like that already. i need to find a way to also have people download the movie. i don't really feel like doing those 100 of pages again.
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
any one who can help me out. any scripters?
|
|
|
|
|
|
#8 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
so what your saying is you have 100 pages like
page 1 <embed src=movie001.mpg> page 2 <ambed src=movie002.mpg> and you want to keep the exisiting embed tag but also add an additional tag to each of the pages without having to edit each one by hand ?
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#9 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
shouldnt be too hard , but isnt so easy either
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#10 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
how many pages ? are they in the same directory ?
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#11 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
yes they are in the same directory, 99 pages per directory. yes you are right about the way they are counted and what i want to do.
|
|
|
|
|
|
#12 |
|
Confirmed User
Join Date: Feb 2004
Location: If i was up your ass you'd know
Posts: 3,695
|
thats easy if all the links are surrounded by the embed tags and you just want a hard link to the actual movie with a generic download now. try grep or ,write a simple perl or php script to do it for you
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
doc911 that is what i want. but i never have done that, and normally i can find it out online but i can't find it. but you have put some word in your text that can help finding what i am looking for.
|
|
|
|
|
|
#14 |
|
Confirmed User
Join Date: Feb 2004
Location: If i was up your ass you'd know
Posts: 3,695
|
I can't find it on the net but I can write it. Im about to eat dinner but f your interested hit me up on icq in about an hour.
|
|
|
|
|
|
#15 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
i will hit you up tomorrow i am about to go to bed. 3 in the night here. I will see you on icq tomorrow.
|
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
still haven't figured out and i am running out of time. who can help me out here.
|
|
|
|
|
|
#17 | |
|
ex-TeenGodFather
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
|
Quote:
Ask them to do the 'search and replace' or some shit.
__________________
..and I'm off. |
|
|
|
|
|
|
#18 |
|
Confirmed User
Join Date: May 2005
Posts: 1,004
|
it has nothing to do with my host. just need scripter to jump in here and find a solution. seems to be hard then i thought.
|
|
|
|
|
|
#19 | |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
Your not going to be able to predict what the movie filename is before you edit it, unless the video corresponds to something ( like the name of the html file ) i.e. fat-chicks.html is <embed src=fat-chicks.wmv> But from the example you posted its not. You need to make a script that will read each page detect the video inside , then create a link tot he video and insert it into the page , not impossible , but not easy. The easiest way to do it , is use a multi find and replace tool ( sausage software ) and add a generic link to a download page of the videos. i.e. add the same link to every page <a href=videos.html>To download the video to your hard drive click here for the full list </a>
__________________
hatisblack at yahoo.com |
|
|
|
|