Quote:
Originally Posted by sgrisole
Yes, I used the same macro in my text editor to replace YOURSITENAME with my domain name (without the extension) for all the local hosted files definitions.
The PDF definition looks like this:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<AME>
<item>
<id>218</id>
<title><![CDATA[<i><b>PDF Documents at PLUTO</b></i>]]></title>
<description><![CDATA[Embed Locally Hosted <b>.pdf</b> Files Using The PDFMENOT Viewer!]]></description>
<displayorder>0</displayorder>
<findcode><![CDATA[([http://]*[\w]*[\.]*PLUTO\.[\w/&;%-\.]+\.pdf)]]></findcode>
<replacecode><![CDATA[<script type="text/javascript" src="http://pdfmenot.com/convert.js"></script>
<script type="text/javascript" src="http://pdfmenot.com/embed/?url={$url}&width=600&height=700"></script>]]></replacecode>
<status>1</status>
<container>0</container>
<embedregexp />
<extraction>0</extraction>
<gdef>0</gdef>
</item>
</AME>
Of course PLUTO is replaced by the actual domain that I don't want to disclose here.
Did you test this definition recently?
|
Is your domain name capitilized as in the example here?