vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) (https://vborg.vbsupport.ru/showthread.php?t=175378)

Digital Jedi 01-05-2009 09:42 PM

***Updates***

Okay gang, here's your first set of updates for 2009. I'll update the 2.5 thread later tonight. Hope you enjoy and here's a rundown of what's new.

WHAT"S NEW

**Internal Linking
You may notice the new set of defs towards the top of your list called Internal Linking. This set is entirely optional, of course, but will auto convert internal links using the info between your forum's <title></title> tags. It will also add a small image to the start of the tag based on your forums favicon image. (NOTE: If no favicon shows up, make a copy of the favicon in your website's root directory and add it to your forum's root directory)

This set includes defs that will convert Threads, Posts, Forums and Categories, as well as auto format a link to a member's profile page with their User Name. (The member link doesn't include a favicon image. You can add it if you want.)

This has not been thoroughly tested on a forum other then my own. So give me some feedback on if you like it or not. It also has not been optimized for people running SEOs of some kind. If you want support for your SEO you need to send me a link to your forum as well as let me know what SEO modification your running.



AllPosters (Thumbnails) et.al.
This set will convert almost all product links form AllPosters.com into thumbnails like the Amazon and CafePress definitions. There's very few products that will not convert, and these appear to be only frames, or anything that's been framed.

Also note that you can use your own affiliate ID with AllPosters if you have one just by replacing the three instances of mine in the Replacement HTML. Or you can leave it. Again, won't hurt my feelings.


CannabisTV
I'm not sure what this site's about, but I think it has something to do with botany.


Google (Search Results) (Let Me Google That For You)
Two new defs for Google include one that will convert search result links into a shorter formatted Google link.
Attachment 91809Google: Star+Wars

And a humorous one that will convert links into a redirect to LetMeGoogleThatForYou.com


The Let Me Google That For You definition is a variation on the one created by Vitaly.

There's two icons available, the old Google favicon Attachment 91810 and the new one Attachment 91809. Save them to your images/misc directory. It uses the new icon by default, but you can change the definition to the old one just by changing the Replacement HTML image source from _new to _old.

Imeem (Photos)
Didn't realize this site had embeddable photos, so here's a small def to correct that oversight.


Wikipedia (Links)
Here's a handy definition for auto converting Wikepdia links with a little icon at the front. Save this image to your images/misc directory. Attachment 91811


YouTube (HQ/HD)
By now you should all know what this is as often as it's been requested. This will embed High Def and High Quality YouTube videos based on the URL. Most of you already know to add the special string of characters to the end of the URL when you want to link to it. However, for these to convert, you'll need to add the string after the watch?, before the v=, like so:


This is the concession I had to make just to get HD and HQ videos to work with AME. Remember that this will only work if a corresponding HQ/HD video for a given URL exists. Here's the code you need for each type of video:


High Def: fmt=22&
High Quality:fmt=18&




WHAT'S UPDATED

The following defs where updated mostly because of code changes by the supported sites.


Imeem (Music)
Imeem (Videos)
MySpace

YouTube
Somewhere along the way, the Full Screen option disappeared from this definition. I've worked it back in along with a new feature. Deep Linking. Sounds like something you'd get from the back end of the video store, right? Not in this case. Deep linking is YouTube's relatively new ability to jump to a fixed time frame inside a video. In order to do this, append the URL of your YouTube video with #t=XXs where XX is the number of seconds into the video you want to jump. (NOTE: I know some of you already know of this, but what's different here is that you cannot use minutes and seconds in the URL. You have to use seconds only, so you'll have to do just a little head math.)

For example, click http://www.youtube.com/watch?v=FuQRmtBq-ls#t=120s and playback will begin exactly 120 seconds or 2 minutes into the video. This will not work with the HD videos, but will work for any other YouTube link.


As always, the updates have been added to the Main ZIP and the Master XML. But you can download them here absolulty free!.

And that's all! Hope you all enjoy!

Vitaly 01-06-2009 04:28 AM

Great idea to beutify google/wiki links and add icons!

Shame on me... I've missed such evident thing :)

Annapurna 01-06-2009 07:26 AM

tried to upload the Master XML and got this message (used the AME CP import):
Quote:



Can not save Import because of the following error(s):
  • Duplicate keys found

Any idea?

One question: Is it right that you can use either Google (Search Results) or Google (Let Me Google That For You). Because how should the addon 'know' how it should convert the googlelink?

A.

TMH63 01-06-2009 12:02 PM

Duplicate keys are found because you have not deleted the definitions you have installed before importing the mast list. This mod won't write over what you currently have. Delete all your old definitions and import the new master. Works like a charm.

Annapurna 01-06-2009 01:11 PM

Thanks!

One more issue:

A couple of hours ago I've embedded a Google-Video.
Worked fine after uploading.

But later, paying a second visit, it doesn't show any more:
http://trekkingforum.com/forum/showp...9&postcount=13

But the video itself is fine at Google Videos:
http://video.google.com/videoplay?do...39492569&hl=en

A.

Digital Jedi 01-06-2009 02:50 PM

Quote:

Originally Posted by Annapurna (Post 1703052)
tried to upload the Master XML and got this message (used the AME CP import):

Any idea?

Quote:

Originally Posted by Annapurna (Post 1703231)
Thanks!

One more issue:

A couple of hours ago I've embedded a Google-Video.
Worked fine after uploading.

But later, paying a second visit, it doesn't show any more:
http://trekkingforum.com/forum/showp...9&postcount=13

But the video itself is fine at Google Videos:
http://video.google.com/videoplay?do...39492569&hl=en

A.

Your using AME 2.5, right? The duplicate keys entry is, as TMH63 says, the way 2.5 prevents duplicate definition entires. Though you may want to wait just a little bit while I update the 2.5 definitions in my other thread, and try those, as I think your Google Videos might be related to that. I'll have to check to be sure.

Quote:

One question: Is it right that you can use either Google (Search Results) or Google (Let Me Google That For You). Because how should the addon 'know' how it should convert the googlelink?
It has to be one or the other, which is why one is turned off by default.

Annapurna 01-06-2009 05:38 PM

I'm not sure if I've mixed something up.
Yes I use 2.5.

Maybe I've downloaded the wrong definitions?

So, "Third Time's the Charm" is wrong for 2.5?

confused ...

A.

Digital Jedi 01-06-2009 08:08 PM

It's not wrong neccessarily, it's just there's some issues with 2.5 RC1 and the way it handled some of the variables in the definitions. So the definitions for 2.5 had to be tweaked in a way that 2.0's definitions didn't need to be. Not to mention, the whole point of running 2.5 is take advantage of the global sizing options in the AME CP, which will only work with the definitions especially made for them: DJ's AME (Auto Media Embedding) XML Media Definitions for AME 2.5

Digital Jedi 01-07-2009 08:36 AM

I've just updated the Danny's FAQ for AME 2.0.2 as well as my Definitions FAQ. They've been spread out amongst the first five posts of this thread. They cover important info that you may need if your just starting out, and explain important specifics about some definitions that you may not have know. Please review them if you have any questions.

Super Jinni 01-07-2009 06:37 PM

Hi Mark,
first thanks for this great definitions which everyone here is happy with and your work is really appreciated.

I was wondering, you almost added all the sites that can come to my mind but you didn't add Expert Village which my forum depends a lot on it.

can you please add it to the definition list here.

I will be really grateful if you can do that.

thanks :)


All times are GMT. The time now is 11:56 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.02765 seconds
  • Memory Usage 1,781KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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