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
  #692  
Old 11-25-2008, 04:39 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, this one is known. This is because MySpace changed their Embed Code from an iframe to actual embed code. This will be addressed in the next update.
Reply With Quote
  #693  
Old 11-27-2008, 08:53 AM
MotMann MotMann is offline
 
Join Date: Jan 2006
Location: Germany
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
You have to delete/disable your old definitions
I Have install the new AME an have right now Problems with the DJ's Master XML.xml to import.

How i can delete the old definitions, if i have install the new AME?
Reply With Quote
  #694  
Old 12-02-2008, 05:59 PM
boandmichele boandmichele is offline
 
Join Date: Jan 2008
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

DJ! i have searched and searched for a solution before asking you, and im sure its something simple... but....

i have imported the amazon (links) definition, updated my tag appropriately, and none of the links are working. instead of pointing to amazon, it points back to my site with the amazon tag added on the end (which ends with me getting a database error). im using 2.5RC but have duplicated this in both 2 and 2.5. any advice?

to clarify, instead of giving me a link to amazon.com/asin/tag=xxxxx,

its giving me a link to ww.mysitegoeshere.com/forums/showthread.php?tag=xxxx

arg!
Reply With Quote
  #695  
Old 12-03-2008, 08:46 PM
h2ojunkie h2ojunkie is offline
 
Join Date: Sep 2004
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just moving the post over to the right thread

Quote:
Originally Posted by Digital Jedi View Post
We probably should discuss this in my Add-On thread after this, that's a good point. I forget where I am sometimes.

I understand what you mean now, and I don't think I recall seeing the embed code for thumbnails videos before. Yeah, it's parsing the URL of the video so the HTML for the thumbnails gets shattered. RegEx for BBCode is tricky, but not impossible I don't think. I'd just have to give it a try.




Quote:
Originally Posted by h2ojunkie View Post
Maybe we aren't on the same page as you said.

I'm talking about a conversion specifically for the PB offered IMG Code - Forums & Bulletin Boards for videos.

When I tested the photobucket (videos) definition with:

[url=http://s73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/?action=view&current=100_2877.flv][img]https://vborg.vbsupport.ru/external/2008/12/103.jpg[/img][/url]


Here's the HTML rendered by the Photobucket (Videos) definition:
HTML Code:
<A title="<img src=" 
href="http://s73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/?action=view&amp;current=100_3043.flv" 
alt="" border="0" th_100_3043.jpg? motorcycle%20related%20stuff Whitey818 i237 
albums i73.photobucket.com http:>" target="_blank"&gt;<IMG alt="" 
src="http://i73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/th_100_3043.jpg" 
border=0></A> </TD></TR></THEAD>
<TBODY>
<TR>
<TD class=panelsurround align=middle><EMBED 
src=http://photobucket.com/player.swf?file=http://s73.photobucket.com/albums/i237/Whitey818/motorcycle%20related%20stuff/100_3043.flv 
width=430 height=389 type=application/x-shockwave-flash 
wmode="transparent"></EMBED>
As you can see, I ended up with a broken layout. The page was rendering the default photobucket image that is shown for videos, followed by the video player rendered by your product.

I was assuming your Photobucket (Videos) definition was written just to do replacements on the url portion only, and wasn't designed to account for the embed code PB provides as shown above. (at least that's what the regex looked like)

I got the idea of adding support for the PB embed code from use of this mod:
https://vborg.vbsupport.ru/showthrea...ht=photobucket

It adds a photobucket image/video search and upload when making posts using:
http://photobucket.com/landing/plugin_wizard.php

And, if you search photobucket using that mod for a video, the only URL photo bucket gives you for the video via the IFRAME used by that mod, is the IMG code I listed above.

Anyway, I personally love that PB image search/upload since it gives an easy way for users to post videos to the site without having to allow users to upload attachments.

I had to shut off your Photobucket (Videos) definition since it broke the page whenever someone would use the PB code provided by the IFRAME uploader.

Hopefully, I'm explaining myself better this time.

Thanks again for a killer product.
Reply With Quote
  #696  
Old 12-04-2008, 08:58 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Junkie. I will try to take a look at this for the next udpate.


Quote:
Originally Posted by MotMann View Post
I Have install the new AME an have right now Problems with the DJ's Master XML.xml to import.

How i can delete the old definitions, if i have install the new AME?
Tick the Delete checkbox at the top of the Display Definitions page, then save.


Quote:
Originally Posted by boandmichele View Post
DJ! i have searched and searched for a solution before asking you, and im sure its something simple... but....

i have imported the amazon (links) definition, updated my tag appropriately, and none of the links are working. instead of pointing to amazon, it points back to my site with the amazon tag added on the end (which ends with me getting a database error). im using 2.5RC but have duplicated this in both 2 and 2.5. any advice?

to clarify, instead of giving me a link to amazon.com/asin/tag=xxxxx,

its giving me a link to ww.mysitegoeshere.com/forums/showthread.php?tag=xxxx


arg!
For those having the linking problem with Amazon (Thumbnails), I have a temporary fix for you until the variable problem in AME can be pinpointed. It will not convert titles properly and will just read Amazon (Thumbnails) or whatever you've named it in the AME CP, but it will properly convert your URLs.

NOTE: If you need to add your own affiliate ID tag you must go in and change each instance of ?tag=citofgamonlco-20 to your own affiliate ID. There are three. If not, you won't hurt my feelings leaving it in.

Oh, remember to delete your old one.
Reply With Quote
  #697  
Old 12-07-2008, 01:26 PM
dasdingansich dasdingansich is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

I´m trying to build replacement code for ebay.de affiliate links, and I got stuck finding the right regex

I need to extract the sellers name from an URL, which usually looks like this:
http://shop.ebay.de/merchant/user_name

works perfectly fine with:
http://shop\.ebay\.de/merchant/([\.\w_-]+)
then I can use the sellers name as $p1

however, sometimes ebay puts thos "W0QQ" variables behind it, then it would look something like this:
http://shop.ebay.de/merchant/user_name_W0QQ_nkwZQQ_armrsZ1QQ_fromZQQ_mdoZ
I need "_W0QQ" and everything after that to be excluded from $p1

first I tried to create a break at the first instance of an underscore, but then I realized usernames can contain underscores as well.

thanks in advance!
Reply With Quote
  #698  
Old 12-07-2008, 01:52 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 dasdingansich View Post
hi,

I?m trying to build replacement code for ebay.de affiliate links, and I got stuck finding the right regex

I need to extract the sellers name from an URL, which usually looks like this:
Code:
http://shop.ebay.de/merchant/user_name
works perfectly fine with:
Code:
http://shop\.ebay\.de/merchant/([\.\w_-]+)
then I can use the sellers name as $p1

however, sometimes ebay puts thos "W0QQ" variables behind it, then it would look something like this:
Code:
http://shop.ebay.de/merchant/user_name_W0QQ_nkwZQQ_armrsZ1QQ_fromZQQ_mdoZ
I need "_W0QQ" and everything after that to be excluded from $p1

first I tried to create a break at the first instance of an underscore, but then I realized usernames can contain underscores as well.

thanks in advance!
It's tricky when you run into an area you need grouped that can easily match the rest of the string. One thing you can do is check to see if the underscore in your grouping is absolutely necessary. If not, then you can easily put an optional word character match after your grouping: [\w_]*

If it is necessary, then try looking for the user name someplace else besides the URL string. Likely, it will be somewhere in the HTML of the page and you can make a ReGex match to that. In this case your grouping, the $p1 reference, will be in the Extraction regex instead.
Reply With Quote
  #699  
Old 12-07-2008, 04:43 PM
dasdingansich dasdingansich is offline
 
Join Date: Jan 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
It's tricky when you run into an area you need grouped that can easily match the rest of the string. One thing you can do is check to see if the underscore in your grouping is absolutely necessary. If not, then you can easily put an optional word character match after your grouping: [\w_]*

If it is necessary, then try looking for the user name someplace else besides the URL string. Likely, it will be somewhere in the HTML of the page and you can make a ReGex match to that. In this case your grouping, the $p1 reference, will be in the Extraction regex instead.
good idea, thanks!
the username occurrs once between h1-tags on the target page, so this should do the trick:
<h1>([\.\w_-]+)</h1>

only Problem is, AME stops fetching the page content at the first occurrence of german vowel "?", which unfortunately appears right in the title.
please compare
http://shop.ebay.com/merchant/25cent-giraffes
http://shop.ebay.de/merchant/25cent-giraffes
the word "seller" in the page title becomes "Verk?ufer", and AME stops at "Verk", which in vbulletin results in this:

Quote:
[ame="http://shop.ebay.de/merchant/25cent-giraffes"]eBay Verk
it?s definately the vowel because it works perfectly with ebay.com, but that?s no good to me because they?re running an entirely different affiliate program.
Reply With Quote
  #700  
Old 12-07-2008, 11:46 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it truncating the HTML output or just the title? Shouldn't you still be getting a valid URL?
Reply With Quote
  #701  
Old 12-08-2008, 08:40 AM
wmlvb's Avatar
wmlvb wmlvb is offline
 
Join Date: May 2008
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I only have the latest version of AME installed and have not installed this add on. I am not sure if I am suppose to install the 12/08 update file or am to install the files in the 1st post and then the update file?
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 01:27 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.07477 seconds
  • Memory Usage 2,364KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_html
  • (8)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