Quote:
Originally Posted by xTerMn8R
Thanks DJ for the responce...
I finally got it to work and made an xml file that will let ya post a .pdf from any site, including locally.
Regular Expression
Code:
([http://]*[\w]*[\.]*[\w]\.[\w/&;%-\.]+\.pdf)
Replacement
Code:
<iframe src="http://docs.google.com/viewer?url=$p1&embedded=true" width="$ameinfo[width]" height="$ameinfo[height]" align="center" style="border: none;"><param name="url" value="pdf=$p1" /></iframe>
One down, now if I can get one for DocStoc I'll be doing Great, I can do them with BBcode, but they pass 2 varibles so I have to use the "Option" in BBCode.
(ex. [doc=MemID]Document ID[/doc]) I dont know how to code that in AME definitions.
Thanks Again DJ and Please check my xml and make sure it's up to standards, and as it should be.
LOL what a way to spend New years Eve, troubleshooting embedding code...Go Figure....LOL
|
i have installed this definition.. great for me using external pdfs... i just want to change the title on to middle from 'PDF' to thread title like in youtube embed..... may be this 'pdf=$p1' part in replacement to be changed.... i tried $threadtitle not working....