1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Embedding PDF Files

Discussion in 'XenForo Questions and Support' started by OperaManiac, Jan 10, 2011.

  1. OperaManiac

    OperaManiac Well-Known Member

    I am looking for a way to convert a PDF Link to an embed code powered by Google Docs Viewer.

    Essentially... Looking for this:

    User posts a PDF file link:

    http://www.glencoe.com/sec/literature/litlibrary/pdf/tom_sawyer.pdf

    And it is generated as:

    HTML:
    <iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fwww.glencoe.com%2Fsec%2Fliterature%2Flitlibrary%2Fpdf%2Ftom_sawyer.pdf&embedded=true" width="600" height="780" style="border: none;"></iframe>
    PS: I understand issues related to hotlinking. But this is sort of for a personal project. We do plan to use Scribd. But this is something that would be very nice.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I like this idea. But there is no feature in the software to allow you to set this up.

    This is possible with an addon. If you are a programmer then you can post in the Development Questions forum for help with this. Or post an Add-on Request and some one may be able to write this for you.
     
  3. OperaManiac

    OperaManiac Well-Known Member

Share This Page