![]() |
I was waiting for your reply about adding the moveshare (moveshare.net) & novamov (novamov.net) definitions and still didn't get a reply. Can you add it so i can use that to my forum?
Thanks in advance. :D |
Is there a good site that explains regular expressions so we can make some definitions ourselves? Is there anything special about the way AME handles regular expressions?
|
Quote:
Good question and I believe the answer is Post #5 of this thread. I started thinking about this given my request above. So I'll be giving this a shot, which is to follow what super DJ does to create these. |
Thanks.., I read through this thread years ago when I first installed this but long since forgot there might be useful info way back on page 1. :)
|
Site about regular expressions?
You mean something like this? http://analyser.oli.tudelft.nl/regex/index.html.en |
Thanks Black Tiger. :up:
|
OK cool... so I decided to start my test with an Embed Code for www.jigzone.com - Embedded Jigsaw Puzzle...
The URL to a puzzle is like this: Code:
http://www.jigzone.com/puzzles/72150F6C117?m=D9250BFF3C.954C2C6&z=6 Code:
<script src="http://www.jigzone.com/zes?i=72150F6C117&m=D9250BFF3C.954C2C6&z=6" type="text/javascript"></script> So I made the Regex which matches perfect in Regex Buddy so I know it's right: Code:
http://www\.jigzone\.com/puzzles/([\w]+)\?m=[\w]+.[\w]+\&[a-z]=([\d]+) Code:
<script src="http://www.jigzone.com/zes?i=$p1&m=AE250BFF3C.930EFB0&z=$p2" type="text/javascript"></script> NOPE... Instead of getting an embedded puzzle I get simply an all text URL not even a link, just the URL as plain text. Exactly this: http://www.jigzone.com/puzzles/72150F6C117?m=D9250BFF3C.954C2C6&z=6 When I look in the source code the AME template is never invoked... I've narrowed it down to a problem with the "z" near the end (z=6). If I remove the z from the regular expression AND the URL it works! But I need the z because I need to specify the second parameter (6) in this case. Anyone got any ideas? I really thought I had these regex's down pat until this roadblock. Oh, one more thing, I changed 'z' in the regex to [\w] and it partially works... The puzzle embeds but not correctly, the z parameter isn't parsed in the embed code and ;z=6 in plain text displays immediately after every puzzle... It's outside the AME template in the source code and I have no clue where it's coming from... it almost looks like a bug in AME maybe... |
1 Attachment(s)
Just to make sure I wasn't missing something totally I was able to get a working definition for Twitvid.com (twitter video).
|
1 Attachment(s)
Eureka... I had to realize that after vBulletin mangled the URL it changed the "&" to "&"so I had to adjust the regular expression to work with either/or... Working great now.
Well since I mentioned it I'll put the file here I'll also stop polluting Digital Jedi's thread with this stuff. Jigzone Embed - when you make a puzzle go to "Open Puzzle" copy the URL of the open puzzle in the browser and paste it into your post... Change the last number (usually 6) to whatever number corresponds to to the puzzle type you want. (0 = 48 piece jigsaw) |
Guys, be careful about seconding requests on my website. I'm doing all requests, if I can, and in the order they were requested. So if you bump a request, you're effectively moving it to the bottom of the list.
I'm sorry I haven't been able to be on top of this like I used to. This year was a bad year for doing anything outside of caring for my daughter. That seems to have consumed my time for 2010. I haven't given up on doing definitions. I'm simply running into a lot of hurdles getting the updates to you. It's just a matter of time, really. I'll try to get to your support questions if I can as well. |
Quote:
No worries on my end DJ. I appreciate the forward notice, even though I don't think it was necessary for you to explain. ;) I at least will give a go at trying to create my definition in the meantime. If you get to it, then great, if not, that is fine too. Enjoy your holiday season sir. |
Quote:
If you are going to try your hand at making them on your own this post was the most helpful to me. |
Appreciate your counter support guys. Also appreciate whomever that was that donated. I'm trying to get back on this by finagling the way I work on some things. Hopefully I can get a small update to you in a few days. I must be more cautious when I say that, though, since every time I say that, something like a tree falls on my internet connection...or my house. So I'll just say, I'm working towards that... and leave it at that. <looks up nervously>
|
Ofcourse familie goes first, hopefully everything with your daughter will be oke soon.
It would be nice if you can find a fix for the Youtube problem though. But take your time, because at this moment we used a youtube bbcode we created ourselves. |
Quote:
Quote:
Quote:
|
Digital Jedi, (or anyone else who knows)
I've seen it mentioned before you can disable AME per post but I've never seen this option... Do you know how to do this? It sounds like it would be a check box somewhere but I've never seen it. |
No solution for the youtube display problem I got?
Nobody else having the problem? |
Quote:
Quote:
In short, I said I only got a chance to skim some posts, but it sounds to me like you have more than one YouTube definition. Your fixing one, but the other one is still trying to convert at the same time. Remember that when you upgrade or reinstall AME it reinstalls the default Amazon and YouTube definitions, which are both outdated. My definition should be the one with (With Deep Linking Support - Seconds Only) in the description. You should delete/disable the other one. (It should probably have a funny looking key name and be way near the bottom.) Note that I'm not referring to the definitions with (YouTube) in parenthesis in the title. Those are fine. |
Quote:
Quote:
Fox News just appears to need an update. MSNBC is still working, but the link you posted is not a video URL, but an article page with a video on it. AME converts specific URL strings, not just a page that happens to have media embedded in it. It identifies pages based on the URL and not the content of the page. Hence, no conversion here. |
1 Attachment(s)
Oke thank you.
I removed the complete installation sometime, after that i removed all definitions and imported the one from this thread here. At this moment, I got the definitions in the screenshot present, could you tell me which ones to remove? I'm sorry that I don't understand the "funny looking key name" you mentioned. Here is the screenshot: Attachment 124118 |
Quote:
|
Quote:
|
I'm sorry, I just tryed again.
Wiped all definitions and imported fresh the DJ Masters (Delta) XML definitions. Next I made a new post, and again, I get this little film icon with a little green arrow in it and the youtube link behind it, so no embedding. This is what I made: http://www.duckfiles.org/board/showt...336#post212336 |
Quote:
|
Sure, but we got this problem with all youtube links.
Here it is: http://www.youtube.com/watch?v=AQ-QAp9-Bbk |
Quote:
|
Someone mentioned that Rapidshare wasn't working. I tested it and I'm not having an issue. I would need specific links that are not converting to troubleshoot the issue.
I see there were a lot of requests in the last few months for new sites. Hopefully you also directed those requests to the definitions request area on my site. |
Sorry, I was gone this evening.
Your account is been upgraded to admin with some rights. Let me know if you need more rights and which ones. But I thing the one you have should do the trick. |
This is a carryover moved to this thread on DJ's request. I'm finding that the Amazon definition only works for certain types of Amazon links. For example, if you search an item on Google and copy the hyperlink from the results, it usually works fine. That is generally because the link is relatively short, ending in the product ID number, and so the definitions parse and append the affiliate tag ?tag=yourtag-20 correctly.
The problem is with other links, like those you often get from a search at Amazon.com. These results have longer URLs, usually containing a ? in them, like the phrase ?ie=UTF . If you append the affiliate tag above, like the one included in the definition, it does not validate. In this case, if you append the tag &tag=yourtag-20 it does validate. You can't simply change to &tag, though, because it won't validate with the shorter Amazon URLs. Yes, if you do the URLs yourself, you can always get it to work, but the point is that you want it to automatically append a valid tag to any amazon link a member posts and you don't know what type of format it will have. So far, my solution is to append the following tag to any type of Amazon URL: ?tag=yourtag-20&tag=yourtag-20 This seems kind of redundant, but so far it has validated in the Amazon link checker utility on all the tests I've tried, including when it gets redirected to a mobile site on a phone. Anyone have a better definition than this common one posted by BirdOPrey5? https://vborg.vbsupport.ru/showpost....postcount=1405 |
Quote:
|
Quote:
If not, can you give me some of the links in question you've run into problems with so I can test them. I know I worked on Amazon recently and made some significant changes to the RegEx, but I can't quite remember what that was due to the aforementioned poor record keeping. |
I already wiped them and reinstalled the ones from this thread yesterday, but you can do it again if you want.
I don't have any custom definitions installed, so go ahead.;) The only custom definition is a youtube custom bbcode which was made last week, but that should not be of any influence. This will be removed when Ame is working again. |
Quote:
|
Hmmz... strange. The only thing I did the last time was an upgrade to the new version.
I will try your suggestions again sometime this evening and keep you informed. Thanks for the help! |
Quote:
So, for example, the AME replacement validates fine for me with this link found via Google searching for "nuclear duct tape" http://www.amazon.com/3M-8979N-Perfo.../dp/B000NG3ZKI It does not validate if I copy the same search results from Amazon and get this URL: http://www.amazon.com/3M-8979N-Perfo...1492788&sr=8-5 Now, if I change the replacement definition from ?tag=affiliate-20 to ?tag=affilliate-20&tag=affiliate-20 then it works in both cases, though it seems like there could be a better way. I hope that all made sense. I'm not an expert with how AME works or the definitions, just seeking the optimal way to do Amazon affiliate codes;-) Edit- Verified my definition is exactly the same as the one in the current download, except I'm using the "double" replacement tag above now. Prior to that it was identical except that I used my tag instead of yours in the replacement area. |
Any word on EA Sports World.?
|
@DJ - I got it fixed.
The update method (reuploading files and re-importing/overwriting xml file) did not fix the problem. I had to really uninstall Ame 2.5.6. After that, I reinstalled 2.5.6, removed the standard definitions and imported these here. After that everything worked again with new posts. With old posts I have to use the edit and save button for the movie window to appear. I presume I can only fix old post by editting and saving? |
can you please tell me - does that AME parse inside forumlinks into titles links? or it was done by other hack? why I ask it? becouse when I update for new definitions all my forumlinks become just links instead of title-links?
Examples? Before update was: vBulletin.org Forum After update it turned into: http://vbulletin.org |
Quote:
|
Quote:
This works on the basis of adding cookies to the user's computer, right? Is there a way to check for these and rather then validate against the Link Checker, validate against whether the cookie was added to a computer or not? Say, from a computer that hasn't visited an Amazon link with your ID. Quote:
Quote:
Quote:
|
All times are GMT. The time now is 09:32 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:
|