vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video-Directory Remixed (https://vborg.vbsupport.ru/showthread.php?t=200819)

Jaxel 02-04-2009 03:48 AM

Google, Myspace, Yahoo and MSN dont have publicly available per-video XML (not just a REST API). If they dont have a publicly available per-video XML, then there is nothing I can do for it... A per video XML feed is basically a file that your server can retrieve to get the specific information about a video. If it doesn't exist, then you have nowhere to get the information... Here are some examples...

Veoh: http://www.veoh.com/rest/video/v831782W7CC6yez/details (its mangled, but it should still work)
YouTube: http://gdata.youtube.com/feeds/api/videos/DxkbFNXTfhs (view source)
Dailymotion: http://www.dailymotion.com/rss/video/x7s7tj (view source)
Metacafe: http://www.metacafe.com/api/item/2296082 (view source)

If you want me to add a video hoster, give me a link to an XML construct and I will do it.

bjhuang 02-04-2009 11:17 AM

1 Attachment(s)
try these:

PS. you have to make a dir under videothumbnails and chmod 777 to save the thumbnails

Code:

mkdir videothumbnails/myspace
chmod 777 videothumbnails/myspace


Leo Brazil 02-04-2009 11:45 AM

I've been using Survivor's mod for a while successfully and I have a few questions ?

As this mod was based on that one, to upgrade that one for this one, is that easy ? I mean just like if was the same mod that has been updated or is there a trick or somenthing for ?

By the way, I remember many requests for sub-categories for thise mod, any chances for it ?

Thanks.

Chadi 02-04-2009 01:23 PM

Quote:

Originally Posted by Jaxel (Post 1733787)
Google, Myspace, Yahoo and MSN dont have publicly available per-video XML (not just a REST API). If they dont have a publicly available per-video XML, then there is nothing I can do for it... A per video XML feed is basically a file that your server can retrieve to get the specific information about a video. If it doesn't exist, then you have nowhere to get the information... Here are some examples...

Veoh: http://www.veoh.com/rest/video/v831782W7CC6yez/details (its mangled, but it should still work)
YouTube: http://gdata.youtube.com/feeds/api/videos/DxkbFNXTfhs (view source)
Dailymotion: http://www.dailymotion.com/rss/video/x7s7tj (view source)
Metacafe: http://www.metacafe.com/api/item/2296082 (view source)

If you want me to add a video hoster, give me a link to an XML construct and I will do it.

www.godtube.com

Thanks

Jaxel 02-04-2009 05:46 PM

Chadi, Godtube does not have a per-video XML.

You can take a look at what bjhuang did... he didn't use the per-video XML. Instead he just pregmatched the page itself and pulled the information right from that. While it should work, you could have issues with size of pages being too big; or websites changing their layout (YouTube seems to change their layout every 2 weeks).

Chadi 02-04-2009 05:55 PM

I'm sorry jaxel, I have no idea what you're telling me to do. I'm not a coder or programmer of any kind. If you could do this for me, I'd appreciate it. You seem to make it sound like its a simple thing, but for me I'm lost here :)

Thanks for your help.

PS: they changed their name/domain to tangle.com

boxhamster 02-05-2009 06:10 AM

Quote:

Originally Posted by bjhuang (Post 1734097)
try these:

teastet myspace and it works, thanks! just the video-thumbnail is missing?
http://vampster.com/forum/video.php -> "APRON: Broken Child"-video

Markus

bjhuang 02-05-2009 10:09 AM

Quote:

Originally Posted by boxhamster (Post 1734899)
teastet myspace and it works, thanks! just the video-thumbnail is missing?
http://vampster.com/forum/video.php -> "APRON: Broken Child"-video

Markus

you have to create a dir to save the thumbs
Code:

mkdir videothumbnails/myspace
chmod 777 videothumbnails/myspace

for some sites, it is impossible to get all the information. you could edit the xml and modify the thumbnail path to whatever you like (fixed url to an image).

the author should provide a input box for thumbnail url or a function to load a default thumbnail....

BTW, you must have ability to modify the code of regex matching cause layouts change from time to time. i won't provide an update.

ishare 02-05-2009 01:45 PM

I would like to thank you very much for this gread mod.

Because of my website is not in English and i use different language description for each video (plot for movie reviews) i will appreciate it a lot if someone help me with getting just the video thumbnail but not description and video title, after click the "load information from service" button.

Regards

Mr. Baws 02-05-2009 03:16 PM

what <td class to edit
http://i39.tinypic.com/ajt190.jpg


All times are GMT. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01801 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete