![]() |
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 |
Quote:
Quote:
Quote:
Quote:
Are you using AME 2.5? I think Blip has some trouble with new BETA. |
Quote:
Can you give me an example of how patterns can be matched in source HTML? |
Quote:
|
Quote:
Best I could compare it to is, say you need an ID number for the embed code that isn't in the URL string. Say your embed code's video source is www.video.com/vidID=123456.flv. Well, 123456 isn't in the URL. The URL just says www.video.com/u/wow-what-a-dog!.html. So your going to have to look for 123456 in the source code. Thing is, www.video.com/vidID=123456.flv is not in the HTML of the page either. So you have to get those numbers some other way. You look at the source code of a few pages and you notice that the vidID is there in the pages, it's just not like it is in the embed code. In this hypothetical example lets say it's found like this in the source of the page: src="/getplayer/v=id123456.flv" So, you build your RegEx to match this for the extraction RegEx: src="/getplayer/v=id([\d]+)\.flv I grouped the area with ID number because that's what I'm going to refrence in my embed code. So that part in the embed code Replacement HTML will look like www.video.com/vidID=$p1.flv |
DJ, sincere thanks for your help. I was able to create the definition for scribd. Here it is.. :)
|
Thank you simunaqv and skcyber. I've included them in this update.
Quote:
|
***UPDATES (Part 2)***
This of this an addendum to the last update. Individual files have now been added to the Main ZIP. However, I'd advise a complete re-import of the Master XML from the main post, as I've started using a different naming convention for a lot of definitions. I will no longer be combining shared definitions into one XML file. As a result, those of you using AME with keys will likely get some duplicate definitions on import. If you plan on doing any adding to your definitions, please look over what your doing first to make sure you not duplicating anything, or just delete everything and import the new Master XML I just added. It will be less time consuming in the long run. |
Hello i'm trying to embed my own MP3
i put in regular expression: ([http://]*[\w]*[\.]*lespoemes\.net\.[\w/&;%-\.]+\.mp3) and i've put ? mp3 in http://www.lespoemes.net this mp3 is 18.mp3 When i'm trying in message to put http://www.lespoemes.net/18.mp3 that doesn't work...????? What can i do ? |
When you imported the MP3 definition, the only thing you should have changed was YOUR_SITE_NAME_HERE to lespoemes. Not lespoemes.net. Remove the .net.
|
All times are GMT. The time now is 12:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|