Author Topic: Export Your TubeX Videos Into TGPX (or other scripts)  (Read 1935 times)

0 Members and 1 Guest are viewing this topic.

Offline a4evermedia

  • Global Moderator
  • Full Member
  • ***
  • Posts: 122
  • Karma: +25/-0
  • Gender: Male
    • View Profile
    • A4Ever Media
Export Your TubeX Videos Into TGPX (or other scripts)
« on: April 14, 2012, 09:35:42 AM »
Create a custom template with the following:

Code: [Select]
{videos
var=$videos
amount=100
paginate=false
pagination=$pagination
sort=date_added DESC}

{foreach var=$video from=$videos}
      {category var=$category id=$video.category_id}
      {$g_config.base_url}/video/{$video.video_id}/|{$video.title}|{$video.tags}|http://www.yourdomain.com{$video.thumbnail}|250x200|{$category.name},Hardcore|<br/>
{/foreach}

This code will produce a HTML text page with 100 entries with the following format:

video url|video title|video tags|thumb url|thumb size|category(s)

The 'video title' can be imported as the 'gallery description' in TGPX, because video descriptions can be very long.

Make sure you change the yourdomain.com to your domain name.
You will also need to change the default 250x200 preview size to your TGPX default.

Notice that you can predefine the categor(ies),  i.e., Hardcore,Catagery,Category
That way you can add a video to several categories at once!

Copy and paste into TGPx import from File...

Note:  You can easily customize this script to produce other TGP import formats!


« Last Edit: December 07, 2013, 05:06:21 PM by a4evermedia »

Unofficial JMB Support Forums

Export Your TubeX Videos Into TGPX (or other scripts)
« on: April 14, 2012, 09:35:42 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1404 Views
Last post April 19, 2012, 10:50:26 PM
by a4evermedia
1 Replies
1323 Views
Last post June 23, 2012, 04:01:20 PM
by Chad
0 Replies
1094 Views
Last post July 08, 2013, 10:56:44 PM
by WebbieTube
0 Replies
1386 Views
Last post April 19, 2012, 10:50:26 PM
by a4evermedia
2 Replies
1299 Views
Last post November 11, 2013, 02:06:57 PM
by Chad