Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) Details »»
DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm)
Version: 11.0.0, by Digital Jedi Digital Jedi is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.6 Rating:
Released: 04-06-2008 Last Update: 01-10-2010 Installs: 405
Re-useable Code  
No support by the author.

NO LONGER SUPPORTED. RECOMMEND YOU UPGRADE TO AME 2.5 AND MY DELTA SET OF DEFINITIONS.


========================================

IMPORTANT - PLEASE READ
These XML Files must be imported through your AME CP. That requires The Geek's AME - The Automatic Media Embedding System to be installed on your forum. Then you can come back here and import these definitions.

========================================

VERSION INFO - PLEASE READ
While AME 2.0+ was redesigned for vBulletin 3.7.x, it should still function on versions 3.6.x. These media definitions will work with any version of AME.

AME 2.0 now works with Social Groups, Blogs, Profile Comments and Visitor Messages (if your running vB 3.7.x, obviously). However, AME 2.5 BETA also supports signatures and has a global resizing option for each of these regions. If you decide you want the resizing functionality, you will need the definitions from this thread instead: DJ's AME (Auto Media Embedding) XML Media Definitions for 2.5


WHAT THIS IS?
This thread is the third installment of a series of threads where we tried to collect media definitions for the AME modification by The Geek. The brilliance of The Geek's modification was that support for a given site could be added by people who knew a little about Regular Expressions, and then share the exported definitions with the community without The Geek having to update the modification each and every time.

Hotwheels, and then Dannyloski both worked hard to maintain threads where we collected these definitions so they could all be in one place and easily downloaded. But both met with some unfortunate circumstances where they could no longer maintain those first two threads. Then I came along with my inordinate lack of something to do, and put everything together with the hope that I could keep things going as well. Hence the little joke there in the title about "Third Time's the Charm".

So in addition to updating, I've kind of taken it upon myself to keep up with these definitions, collect, contribute and generally maintain this aspect of the modification. Hence the reason why I consider this the ultimate media embedding system for vBulletin, as we, as a community, have generated XML definitions for over 160 various kind of media outlets. I personally try to add at least 10 new sites every few months.


LIVE DEMO
This demo is running AME 2.0.2 on a live site. Periodically, this area will be closed for development.


MEDIA DEFINITIONS
New definitions are always in the works and any requests or XML contributions of your own are welcome.

This is the complete list of Media Definitions, alphabetized and sorted by category. Please read any notations I've made for a particular definition here, since I can't include them in the XMLs.
Games
GamesOpoly
Nonoba

Music/Audio
eBaums World (Audio)
eSnips (Music) (Turned off by default. Cannot be used with eSnips Video active!)
GoEar
Jiwa
Jiwa (Playlists)
Playlist

Other
AllPosters (Thumbnails)
Amazon (Links) (Tuned off by default. Cannot be used with Thumbnails active!)
Amazon (Thumbnails) (Turn this off if you decide to use Amazon Links instead. The two cannot be used together!)[/I]
CafePress (Thumbnails)
CNET Downloads (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
Daily HaHa (Funny Pictures)
eBaum's World (Audio)
Flickr Slideshows (Photostreams)
Flickr Slideshows (Sets)
Google (Let Me Google That For You) (Tuned off by default. Cannot be used with Search Results active!)
Google (Search Results) (Turn this off if you decide to use Let Me Google That For You instead. The two cannot be used together!)
Google Maps
ImageShack (Slideshows)
MegaUpload (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
RapidShare (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
RockYou
Scribd
Slide (SlideShows)
SlideShare
zSHARE (Badges) (For badges to work properly, you must download the images provided at the end of this list)?
Wikipedia (Links)??
Wikipedia (Thumbnails) - (Beta - Cannot be used with Wikipedia (Links) Active.)

Video
220
2K Sports
5min Life Videopedia
Adult Swim
Apache Clips
Atom
BikerPunks
Blip
Break
CBS News
CBS Sports (AKA Sportsline)
Clarin
Clipfish
ClipShack
College Humor
Comedy Central
Crackle
Crave Online
Current
CNN
Daily HaHa
Daily Motion
Daily Motion (Playlists)
Dark Orange
Diesel Bombers
DisneyTube
DivShare
Dorks
EA Sports World
eSnips (Videos) (Turn this off if you decide to use eSnips Music instead. The two cannot be used together!)
eBaums World (Videos)
ESPN
Facebook
FanDome
FileCabi
Flektor
Flickr
FloTrack
Flowrestling
Fox News
Funny Or Die
G4TV
Game Trailers
GameSpot
GameVideos
Giant Bomb
Globo
Google Video
Grapheine`s BombayTV
Guba
Guitar-Tube
H3Press
Hulu
I Am Bored
iKlipz
ImageShack
IGN
Izlesene
Izleturk
JibJab
Jokeroo
Joe Cartoon
JustinTV
Koreus
Last.FM
Layartancap
Libero
Live Video
LiveLeak
Magnify
Media Matters
MegaVideo
Metacafe
MLG: The Game Room
Motionbox
MotorsportsMad
MSNBC
MTV
MTV Music
MyModelTalk
MySpace
MyVideo.Co.Za
MyVideo.De
Newsclipper
Nollywood
PC Planets (MetaCafe Videos)
PC Planets (YouTube Videos)
Photobucket (Videos)
Photosynth
Poker Tube
Porkolt
Pure Pwnage
Putfile
Raw Vegas
RuTube
Rediff
Revision3
Revver
Sclipo
Sevenload
Social Paintball
South Park (Clips)
Speedaholic
Spike
Spiked Humor
StreetFire
Tangle
The Colbert Report (Clips)
The Daily Show (Clips)
The Escapist
The Onion
The WB
TinyPic
Today's BIG Thing
Tu
Tudou
UOL
UOL Mais
UOL Videolog
Ustream (Live & Recorded)
Veoh
Viddler
Video Tube
VideoJug
Video.Mail.Ru
Vidiac
vidiLife
Vimeo
VistaKU
Vreel
WeGame
World Star Hip-Hop
Xfire
Yahoo!
Yatahonga
YouTube (with Deep Linking support)
YouTube (Playlists)
YouKu
YouKu (Playlists)

Local Hosted Videos
For videos uploaded to your site, you need these Media Definitions. These XML files need to be edited, either in the AME CP or in an HTML Editor. Look for YOUR_SITE_NAME_HERE and change it to the domain name of your site. Do not include .com, .net, .de, .co.uk or anything like that. So, for example, if your site is www.cogonline.net, then you'd change YOUR_SITE_NAME_HERE to cogonline. This DOES NOT embed attachments.

DIVX (.DIVX Extentions)
MP3 (.MP3 Extentions)
PDF (.PDF Extentions)
QuickTime (.MOV Extentions)
RealMedia (.RM & .RAM Extentions)
Flash (.SWF Extentions)
Windows Media Videos (.WMV Extention)

SITES NOT AVAILABLE (The "No-Fly List")
These are previously made or requested XML files that were working, but for varying circumstances, I can't make work at the moment. Things could change at a moment's notice, though, so be sure to subscribe to my updates.
CBS News (Nothing to refrence in URL or HTML code)
BBC (No embeddable code)
EuroNews (No embeddable code)
MiniClip (The good news is, from what I can tell, almost all MiniClip Games are available at EmbedGames.com, which I just made an XMLs for!)
NBA (The URL of the first page opened doesn't change after clicking on subsequent videos. There's not even a permalink to reference.)
TrTube (Doesn't work for me, but that may be a regional problem. Demo available for testing here.)


SUPPORT
I'm always happy to help to the best of my ability, but please don't just say your video isn't working without providing links to either the video or the post your having a problem with. I can't help unless I know what to look for. Also be sure to check the FAQs in the following two posts, as your question has likely been answered many times. Thanks.


DOWLOAD AND INSTALLATION
There are three files available, though you don't neccesarly need all three. Definitions are installed by importing them through your AME CP in your Admin CP. YOU DO NOT IMPORT THEM THROUGH YOUR PRODUCT MANAGER.
DJ's Master XML: This is the file you want if you're starting fresh and want the complete line of supported media sites. Remember that definitions do not overwrite, so you would need to delete your default definitions before importing this file.

DJ AMEs: [s]This ZIP file contains all the same sites as the Master XML, but as individual XML files, in case you want to pick and choose which sites you want support for.[/s] This option is no longer available for Third Time's the Charm.

DJ's Local Hosted AMEs: This ZIP file contains the definitions for locally hosted media, that is, media your hosting on your own server. As explained above, you need to make the appropriate edits upon import and it does not convert videos uploaded as attachments. (Also see the Read Me in the Local Hosted ZIP file)

?The 9 following images also need to be added to your images/misc directory.


??
Remember to Click Install so you can be informed via email when a new files is added or updated!! I've got more in the works! :up: :up: THANKS everyone!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Equarter

Comments
  #712  
Old 12-11-2008, 12:10 PM
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did it but come same error message ... downloaded file is not divx file ....

i have youtube bbcode and one product (add youtube block in profile) - that is all my video codes ... now i have ame 2.5 rc1 and your mod for divx !

regards

macc
Reply With Quote
  #713  
Old 12-11-2008, 12:19 PM
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is this test2.divx - http://libar-libar.com/libar/vb/show...=2405#post2405


works ... i hope ... it is few sec but work ...


my test.divx file is from here http://download.divx.com/divxlabs/Ap...20-12Mbps.divx
and i downloaded and just change name to test.divx and upload to my root!


reg

macc

edit: now is link for downloaded divx ok
Reply With Quote
  #714  
Old 12-11-2008, 12:23 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, that's working properly. Large DIVX files, at least in my experience, have a tendency to get corrupted easily. Try downloading the file again and see if you get the same error, because the modification appears to be working properly.
Reply With Quote
  #715  
Old 12-11-2008, 12:30 PM
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i tested this link http://download.divx.com/divxlabs/Ap...20-12Mbps.divx on codegenerator and works fine (mean divx file )


i will try download again and upload again for test ...

thanks and regards

macc
Reply With Quote
  #716  
Old 12-16-2008, 05:49 AM
realmr realmr is offline
 
Join Date: Aug 2008
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you add supernovatube.com into the list ?
Reply With Quote
  #717  
Old 12-16-2008, 02:35 PM
dduane dduane is offline
 
Join Date: Nov 2008
Location: County Wicklow, Ireland
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there! (waves "hi" from Ireland)

I've just installed AME2.0 on my vB 3.7.4. Works just fine without the additional definitions.

However, just downloaded the master XML definition list, and on attempting to import it using the AME cp, I'm getting:

"XML Error: no error at line 0"

Any thoughts as to what this might mean?

Thanks! -- D.
Reply With Quote
  #718  
Old 12-16-2008, 10:26 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by realmr View Post
can you add supernovatube.com into the list ?
I'll add it to the list of sites to include, provided there are no problems getting it to work.


Quote:
Originally Posted by dduane View Post
Hey there! (waves "hi" from Ireland)

I've just installed AME2.0 on my vB 3.7.4. Works just fine without the additional definitions.

However, just downloaded the master XML definition list, and on attempting to import it using the AME cp, I'm getting:

"XML Error: no error at line 0"

Any thoughts as to what this might mean?

Thanks! -- D.
I've not seen that before, but it could be the download got corrupted and you got an incomplete file. Try downloading it again.
Reply With Quote
  #719  
Old 12-20-2008, 01:25 AM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DJ, may be i'm stupid, but what the hell does AME with ampersands in regular expressions? I need to define "&q=" pаttern in thе middle of URL. Somerthing like "(.+)(&q=)(.*)". But it trigger only when i set "(.+)(q=)(.*)". Tryed (.*)(&q=)(.*) with the same result.

What's wrong? Pattern is 100% correct, and test samples pass ok in preg debugger. I've rolled back to 2.0.2 but situation is the same. Any ideas?

Link example:
http://www.google.ru/search?hl=ru&newwindow=1&q=%D0%BF%D0%BE%D0%B8%D1%8 1%D0%BA+%D0%B2+%D0%B3%D1%83%D0 %B3%D0%BB%D0%B5&btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%B A&lr=&aq=f&oq=

http://www\.google\.[\w]{2,4}/search\?(.+)(q=[\w\d%+]+)(.*) - works, but catches wrong parameter (&aq=f)

http://www\.google\.[\w]{2,4}/search\?(.+)(&q=[\w\d%+]+)(.*) - doesn't works (brokes parceing and even shows plaint text instead of link).
Reply With Quote
  #720  
Old 12-20-2008, 02:55 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this the link? I notice there's a space in the one you posted.

http://www.google.ru/search?hl=ru&newwindow=1&q=%D0%BF%D0%BE%D0%B8%D1%8 1%D0%BA+%D0%B2+%D0%B3%D1%83%D0%B3%D0%BB%D0%B5&btnG =%D0%9F%D0%BE%D0%B8%D1%81%D0%BA&lr=&aq=f&oq=

For ampersands, I always have to use the ampersand command, but then make it optional: &[amp;]* I never get the links to parse unless I change all my ampersands to this.

Also, I avoid using brackets if I can. [\w]+ will match any of Google's extensions without going past the backslash /search?. Brackets have a tendency to cause a parsing error, which is what the problem with IGN definition was.

Try this instead. I presume your trying to get three groupings?

Code:
http://www\.google\.[\w]+/search\?(.+)(&[amp;]*q=)([\w&;=]*)
Reply With Quote
  #721  
Old 12-20-2008, 01:53 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DJ, thanks a lot.

Your example was not exact, but very usefull. I've waisted 8 hours without it for experiments

&[apms;]*(q=... can skip spoilers between "&" and "q" but this one seems to works as required:

(?:&|&amp(q=...

Do I understand right, that preg must match BOTH link text and address in "URL"? Is it the reason, that pattern should allow both single "&" and encoded "&" ?

I've attached "letmegooglethatforyou" macros. Enjoy! type any URL with google search results and see what happens . Expression can be a bit improved, will do it later.

In nearest days will see, as promissed, what can i fo with google maps.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:32 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.04979 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete