]|TUESDAY MORNING DEFINITIONS|[
Because that can be a thing, too
In case you missed the email notification, the incessant thread bumping or the skywriting in every major city, AME 2.5.7 is out, and you can grab it
here:
AME 2.5.7 includes two new advanced option called
Extra Head Tag Code and
Extra Body Tag Code. One of the problems I always had with making definitions, is that some websites required an extra snippet of code, such as JavaScript, in either the <head> or <body> tags of your website. I couldn't put the code in the definitions if it was required in the head tags, and even then, the code could only appear once per page. So your only other option would have been to edit one or more of your templates. That didn't seem like an elegant solution. So in AME 2.5.7, I've included these two extra fields where you can add this extra code, and AME will insert it automatically into the proper templates. No need for editing. No need to edit multiple styles.
So here's a handful of definitions I worked out that use the new feature, just to get you started...
NEW :: EXTRA CODE
Google+ Profiles, Pages, Posts and Communities :: Each of those can now be embedded in a post using the collection of Google+ definitions in this update. But be sure to include the extra JavaScript code necessary to make it work. Go to your
Admin CP ?? AME CP ?? Advanced Options and paste it into your
Extra Head Tag Code field:
HTML Code:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
Pinterest Boards, Pins and Profiles :: My old definitions for Pinterest stopped working a while back, and even when they did work, they had to match up to 20 parameters just to work right. Not the most elegant of solutions, either. This new set of Pinterest definitions will embed Boards, Profiles and individual Pins using Pinterest's native widgets. Go to your
Admin CP ?? AME CP ?? Advanced Options and paste the following JavaScript code into
Extra Body Tag Code:
HTML Code:
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
But wait, there's less!
I've included some new definitions and some updated definitions that use the regular old run of the mill functions you've come to know and love.
NEW
Kickstarter is the crowdfunding website that get's everything from that 500 foot robot snake I always dreamed about as a kid, to a feature-length Veroncia Mars movie it's funding. Two definitions are included where you can decide whether to embed a project's promo video, or it's widget.
Indiegogo widgets are available as well. Think of Indiegogo as the Garfunkle of crowdfunding websites.
Pastebin lets you share, well, pastes with other users. Now you can embed public pastes in a post. (Say that seven times real fast.)
To round out the social media goodness, you can now embed
Facebook Posts and Pages in a thread. Note that the Facebook Pages definition will try to embed regular profiles and fail. So user your own discretion with that one.
ProProfs Brain Games host a series of puzzles, brain teasers and word games to keep you from doing your taxes, cooking dinner or feeding the baby, for hours on end. Now make your community as unproductive as you are and embed them in posts.
UPDATED
Just one, but it's a good one.
Remember
eBay thumbnails? How about something a little more practical?
LOCAL HOSTED
In addition, I've updated the existing local hosted definitions, and composed a few more. For one, they should no longer require editing to support your website, they should work out of the box. Let me know if they don't. I added a little extra media support to a couple and just outright created some new ones. As usual, documents display using Google Drive's doc viewer, and I've extended some support to those as well. Check the READ ME file from the actual main post's ZIP folder for more info on some of those. In short, here's what you get:
DIVX (.divx, .mkv)
Flash (.swf)
HTML 5 Player (.ogg, .ovg, .webm)
MP3 (.mp3, mp2)
QuickTime (.mov, .mp4, .3gp)
RealMedia (.rm, .ram)
Windows Media (.wmv, .asx, .avi)
Documents (.pps, .pptx, .ppt, .pdf, .docx, .doc, .txt, .pages, .xlsx, .xls, .xps)
Graphic Files (.ai, .psd, .dxf, .tif, .tiff, .eps, .ps)
Markup/Code (See READ ME file: .css, .html, .cpp, .hpp, .h, .js, .c)
TROUBLE IMPORTING?
To address the issue some folks have been experiencing with definitions not importing (turns out, when I tested things, I too had the same issue), I've broken down the Master XML file into volumes. There are no more than 70 definitions per volume, as this seemed to be the uppermost limit the XMLs could have before I started getting the "missing keys" error. You can grab the volumes from the ZIP in the main post of this thread.
As always, let me know what you think, if it works, and post links if it doesn't. Enjoy!