DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pdfex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:pdfex [2011-05-06 01:41] – [file: conf/metadata.php] 82.251.15.59plugin:pdfex [2023-10-30 22:47] (current) Klap-in
Line 7: Line 7:
 type       : action type       : action
 lastupdate : 2008-05-04 lastupdate : 2008-05-04
-compatible : 2006-11-06 and later+compatible : 2006-11-06+
 depends    :  depends    : 
 conflicts  conflicts 
-similar    : pdfdownload +similar    :  
-tags       : pdf, export+tags       : !obsolete, pdf, export
 ---- ----
  
 ===== What does this plugin do? ===== ===== What does this plugin do? =====
  
-On [[plugin:pdfdownload]] Chris told me about using an action plugin instead of my obfuscating the template's code ;-) So I did a quick hack, and already got something like a working version.+On former :plugin:pdfdownload Chris told me about using an action plugin instead of my obfuscating the template's code ;-) So I did a quick hack, and already got something like a working version.
  
 The plugin creates a PDF file in ''data/pdfex'', which is named like the page you see. On each visit of a page, the plugin compares the timestamps of the PDF file (if exists) and the textfile with the page's content. When there is no PDF file or the page file is newer that the PDF file, a new PDF file is created. The plugin creates a PDF file in ''data/pdfex'', which is named like the page you see. On each visit of a page, the plugin compares the timestamps of the PDF file (if exists) and the textfile with the page's content. When there is no PDF file or the page file is newer that the PDF file, a new PDF file is created.
  
 The plugin can be taken as a piece of sample code how to export the content of a page into another format. All you have to do for this is to replace the function that calls the PDF converting routine with a function that converts into another format (LaTeX for example). The plugin can be taken as a piece of sample code how to export the content of a page into another format. All you have to do for this is to replace the function that calls the PDF converting routine with a function that converts into another format (LaTeX for example).
 +
 +Note on **2013-01-15**: because of job/time problems I rarely look at his page :-(. The plugin was written about 5 years ago, and I hardly remember anything from the code, so I can hardly offer any support. My own websites use [[plugin:dw2pdf]] instead.
  
 ===== How to make it usable ===== ===== How to make it usable =====
Line 59: Line 61:
   * plus the files of [[http://tcpdf.sourceforge.net|TCPDF]] in subfolder tcpdf, when you want to use it ;-)   * plus the files of [[http://tcpdf.sourceforge.net|TCPDF]] in subfolder tcpdf, when you want to use it ;-)
  
-The files I created are available as download from http://www.wernerflamme.net/data/pdfex.tar.gz. You can use the plugin manager to install from this URL. In addition, you need to download [[http://html2fpdf.sf.net|HTML2FPDF]] and/or [[http://tcpdf.sourceforge.net|TCPDF]] and store it in subfolder ''html2fpdf'' and ''tcpdf'', respectively.+The files I created are available as download from [[http://www.wernerflamme.net/lib/exe/fetch.php?media=comp:pdfex.tar.gz]]. You can use the plugin manager to install from this URL. In addition, you need to download [[http://html2fpdf.sf.net|HTML2FPDF]] and/or [[http://tcpdf.sourceforge.net|TCPDF]] and store it in subfolder ''html2fpdf'' and ''tcpdf'', respectively.
  
 On **2008-05-04**, Karel Dusek mentioned that the variable ''$_SERVER['SERVER_HOME']'' does not exist. This is a reason for not working, so I replaced this by ''%%dirname(__FILE__) . '/tcpdf/',%%'' -- it will work now, I hope... On **2008-05-04**, Karel Dusek mentioned that the variable ''$_SERVER['SERVER_HOME']'' does not exist. This is a reason for not working, so I replaced this by ''%%dirname(__FILE__) . '/tcpdf/',%%'' -- it will work now, I hope...
Line 422: Line 424:
 ==== file: lang/en/lang.php ==== ==== file: lang/en/lang.php ====
  
-<code php>+<code php lang/en/lang.php>
 <?php <?php
 /** /**
Line 443: Line 445:
 ==== file: lang/en/settings.php ==== ==== file: lang/en/settings.php ====
  
-<code php>+<code php lang/en/settings.php>
 <?php <?php
 /** /**
plugin/pdfex.1304638902.txt.gz · Last modified: 2011-05-06 01:41 by 82.251.15.59

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki