Standalone

July 30th, 2009

This pages describes how you can install the “Tube Extractor” as a standalone application.

Below described the algortihm of customization of “Tube Extractor” as standalone application:

  • Go to the folder with Standalone version. There you will find file called “index.php” – you may touch only in case if you are familiar with PHP programming language or you have a developer who may want to customize the code inside. “index.php” is the core file of Standalone version – corruption of it will cause problems with the application. Together with index file youll find there folder called “templates”. This folder contains 2 files first one which is called “mail.tpl” described right below. What you are interested in is tokens “{form}” and “{found_items}” – you may put them at any place inside the file. You should put here your own HTML code – the code from your original HTML design file.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<center><b>YouTube search and download engine</b></center><hr>
{form}
<hr>
{found_items}
</body>
</html>
  • Now take a look inside of “found_item.tpl” which is located in the same folder called “templates”. The logics is the same. You have here tokens: “{number}”, “{title}”, “{content}”, “{thumb}”, “{player}”, “{link_low}”, “{link_mid}” and “{link_high}”.
    1. Token “{number}” – stands for number of the video in the list
    2. Token “{title}” – stands for Title of the found video
    3. Token “{content}” – stands for the Description of the found video
    4. Token “{thumb}” – stands for the thumbnail of the found video(so called preview image)
    5. Token “{player}” – stands for showing the player from youtube with the found video
    6. Token “{link_low}” – stands for low quality video – this is the first video which is being uploaded into Youtube player by default
    7. Token “{link_mid}” – stands for HQ video quality
    8. Token “{link_high}” – stands for HD video quality
<b>#:{number}</b><br><br>
<i>Title:</i>{title}<br>
<i>Content:</i>{content}<br><br>
{thumb}<br><br>
{player}<br><br>
{link_low}<br>
{link_mid}<br>
{link_high}<br>
<hr>

If you have any futher questions regarding customization of standalone version of “Tube Extractor” – do not hesistate to ask us