Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1  Previous   Next
Help with HTML links
Author Message
DVD Profiler Unlimited RegistrantAntares
Registered: May 26, 2007
Reputation: High Rating
United States Posts: 599
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I have no clue on writing HTML code, if some computer savvy friend out there has some free time, would it possible to write the code for the following websites for me?

http://www.moviereviewindex.com/

http://www.allmovie.com/

http://www.find-dvd.co.uk/

http://www.amazon.co.uk/


I know I'm asking a lot, but I have no clue on how to do it.
DVD Profiler Unlimited RegistrantStar Contributor?
?
Registered: March 14, 2007
Posts: 3,830
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting Antares:
Quote:
I have no clue on writing HTML code, if some computer savvy friend out there has some free time, would it possible to write the code for the following websites for me?

http://www.moviereviewindex.com/

http://www.allmovie.com/

http://www.find-dvd.co.uk/

http://www.amazon.co.uk/


I know I'm asking a lot, but I have no clue on how to do it.


like this for in the forum? I don't know anthing about HTML.
first you press quote the message
then I use the Icon:

on top of the reply window:
you copy the http://www.amazon.co.uk
mark the text: http://www.amazon.co.uk
press that icon and insert the link in that window
Sources for one or more of the changes and/or additions were not submitted. Please include the sources for your changes in the contribution notes, especially for cast and crew additions.
 Last edited: by ?
DVD Profiler Unlimited RegistrantAntares
Registered: May 26, 2007
Reputation: High Rating
United States Posts: 599
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Giga Wizard:
Quote:
Quoting Antares:
Quote:
I have no clue on writing HTML code, if some computer savvy friend out there has some free time, would it possible to write the code for the following websites for me?

http://www.moviereviewindex.com/

http://www.allmovie.com/

http://www.find-dvd.co.uk/

http://www.amazon.co.uk/


I know I'm asking a lot, but I have no clue on how to do it.


like this for in the forum? I don't know anthing about HTML.
first you press quote the message
then I use the Icon:

on top of the reply window:
you copy the http://www.amazon.co.uk
mark the text: http://www.amazon.co.uk
press that icon and insert the link in that window


No, it's for my layout. I want to add those links to my HTML window, but I have no idea on how to do it.
 Last edited: by Antares
DVD Profiler Unlimited RegistrantStar ContributorTomGaines
Registered Sept. 24, 2001
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 2,005
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
<a href="http://www.moviereviewindex.com/">http://www.moviereviewindex.com/</a>

<a href="http://www.allmovie.com/">http://www.allmovie.com/</a>

<a href="http://www.find-dvd.co.uk/">http://www.find-dvd.co.uk/</a>

<a href="http://www.amazon.co.uk/">http://www.amazon.co.uk/</a>


You can also change the second mention of the URL for each line, if you want to display another text for the link than the URL itself.


DVD Profiler Unlimited RegistrantAntares
Registered: May 26, 2007
Reputation: High Rating
United States Posts: 599
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
What I'm looking for is this.

This is the coding for the Amazon tab in my HTML window:

Quote:
function amazon() {
  var UPC = DP_UPC;
  var matchErg = DP_Notes.match(/asin:\s*(.+)$/i);
  if (matchErg) {
    var amazonlink = "http://www.amazon.com/dp/" +  matchErg[1];
  } else {
    var amazonlink = "http://www.amazon.com/s?url=search-alias%3Ddvd&field-keywords=" + UPC;
  }
  window.location.href= amazonlink;
}



I want to do this for the links I've mentioned above so that I'll have tabs for each of them in my HTML window. I can't make heads or tails out of that code, and haven't the slightest idea how to write it. It is not for the forums
 Last edited: by Antares
DVD Profiler Unlimited RegistrantStar Contributornorthbloke
Registered: March 15, 2007
Reputation: High Rating
United Kingdom Posts: 5,459
Posted:
PM this userDirect link to this postReply with quote
Where did that Amazon code come from? There's some info missing before I can work out how it works.
DVD Profiler Unlimited RegistrantStar Contributornorthbloke
Registered: March 15, 2007
Reputation: High Rating
United Kingdom Posts: 5,459
Posted:
PM this userDirect link to this postReply with quote
In the mean time, here's a simple piece of code that searches three of the sites you mention using the profile's title. Allmovie.com used a search system I couldn't work out, sorry.

Quote:
<HTML>
<HEAD>

<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->
var amazonlink = "http://www.amazon.co.uk/s/ref=nb_ss_w_h_/202-2310053-5063854?url=search-alias%3Daps&field-keywords="
amazonlink = "<a href='" + amazonlink + DP_Title + "'  target='_blank'>Amazon.co.uk</a>"
var finddvdlink = "http://www.find-dvd.co.uk/search.aspx?title="
finddvdlink =  "<a href='" + finddvdlink + DP_Title + "'  target='_blank'>Find-DVD.co.uk</a>"
var moviereviewlink = "http://www.moviereviewindex.com/index.php?page=searchresults&search="
moviereviewlink =  "<a href='" + moviereviewlink + DP_Title + "'  target='_blank'>Movie Review Index</a>"
</SCRIPT>

</HEAD>
<BODY>
<script>
document.write(amazonlink + "<p>" + finddvdlink + "<p>" + moviereviewlink)
</script>

</BODY>
</HTML>

Hope this was what you were after.
 Last edited: by northbloke
DVD Profiler Unlimited RegistrantAntares
Registered: May 26, 2007
Reputation: High Rating
United States Posts: 599
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting northbloke:
Quote:
Where did that Amazon code come from? There's some info missing before I can work out how it works.


<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">

function amazon() {
  var UPC = DP_UPC;
  var matchErg = DP_Notes.match(/asin:\s*(.+)$/i);
  if (matchErg) {
    var amazonlink = "http://www.amazon.com/dp/" +  matchErg[1];
  } else {
    var amazonlink = "http://www.amazon.com/s?url=search-alias%3Ddvd&field-keywords=" + UPC;
  }
  window.location.href= amazonlink;
}

//-->
</SCRIPT>
</HEAD>
<BODY onload="amazon();">
</BODY>
</HTML>
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1  Previous   Next