Quote:
Originally Posted by realmr
can u include x-videos.com into the list ? I heard members are using this feature and they wanted this one of my adult forum
|
I'm not sure, but there may already be one for X-Videos. Go back to the AME 2.0 thread and look for the Add-On section towards the bottom of the mod. The link to the Adult XMLs is listed right there with this one.
Quote:
Originally Posted by skcyber
here is the jiwa.fr music player ! 
|
Is this different from the one I just posted? I havn't had a chance to look at it yet.
Quote:
Originally Posted by simunaqv
Hi DJ,
I am trying to create a definition for scribd as in the following but it is not working:
HTML Code:
<?xmlversion="1.0"encoding="ISO-8859-1"?>
<AME>
<item>
<id>155</id>
<title>Scribd</title>
<description>Embed Scribd Documents</description>
<displayorder>1</displayorder>
<findcode><![CDATA[http://www\.scribd\.com/doc/[\w]+/[\w-]+]]></findcode>
<replacecode><![CDATA[<a title="$title" href="$url" style="display: block;">$title</a> <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="doc_110081542045067" name="doc_110081542045067" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" align="middle" height="500" width="100%"> <param name="movie" value="http://documents.scribd.com/ScribdViewer.swf?document_id=$p1"> <param name="quality" value="high"> <param name="play" value="true"> <param name="loop" value="true"> <param name="scale" value="showall"> <param name="wmode" value="opaque"> <param name="devicefont" value="false"> <param name="bgcolor" value="#ffffff"> <param name="menu" value="true"> <param name="allowFullScreen" value="true"> <param name="allowScriptAccess" value="always"> <param name="salign" value=""> <embed src="http://documents.scribd.com/ScribdViewer.swf?document_id=$p1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" name="doc_110081542045067_object" menu="true" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" align="middle" height="500" width="100%"></embed> </object> <div style="none; display: block;"> <a href="http://www.scribd.com/upload" style="text-decoration: underline;">Get your own</a> at Scribd or <a href="http://www.scribd.com/browse" style="text-decoration: underline;">explore</a> others: </div>]]></replacecode>
<status>1</status>
<container>1</container>
<embedregexp><![CDATA[http://documents\.scribd\.com/ScribdViewer\.swf\?document_id=([\w-]+&access_key=[\w-]+&page=)]]></embedregexp>
<extraction>1</extraction>
<gdef>0</gdef>
</item>
</AME>
The embedded regular expression is not returning anything although it appears to be correct. Could you please have a look?
|
First, ensure extraction is also on in the Global Settings for AME. Then check to see that your
Embed Regexp can actually pull the data from the source of the page. One of the mistakes I almost always make is to presume that because the embed code is located in the page, that it will also be in the
Source Code HTML of the page, which is where the
Emebed Regexp actually looks. But often that isn't the case, so the RegEx can't find a match. But most of the time you can get around that by checking to see if the numbers/letters/IDs you need are located in the Source HTML somewhere and match them instead of trying to match patterns in the embed code. It will still work, because the variables will still parse to their corresponding group.
Quote:
Originally Posted by toastyman
I'm having a problem with the blip.tv code from the latest version. Using one of the examples given in the first reply, when I try to embed http://blip.tv/file/591048 I get:
Code:
2008-11-06 20:53:17: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Parse error: syntax error, unexpected '(' in includes/ame_bbcode.php(323) : regexp code on line 1
PHP Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code:
ame_match("http://blip.tv/file/591048", "", 1, "~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\("([\w-_]+)"\)~sim", "",$ameinfo) in includes/ame_bbcode.php on line 323
Happy to help test anything!
|
Heh, that threw me for a minute. This exact Bridgetdale video is the one I use for my base test.
Are you using AME 2.5? I think Blip has some trouble with new BETA.