emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Validation and text search for export
@ 2008-11-14 18:38 Sebastian Rose
  0 siblings, 0 replies; only message in thread
From: Sebastian Rose @ 2008-11-14 18:38 UTC (permalink / raw)
  To: emacs-orgmode Org-Mode

Hi,



I have started a little Php script for validating the output from Org's
XHTML export. 

Everybody is welcome to use and improve it. I found there are so many
corner cases for this subject (Org-files and XHTML export), that I can't
find them all here.


What you get for validating, is a simple text [1] search form and a list
of the 10 most recently changed/added files [2] well as list of images
referenced in your XHTML files [3].


The first raw version is located on github:

     http://github.com/SebastianRose/org-search.php/tree/master



If you use the script and find parser errors, I'd be happy to receive a
copy of the Org-file (private data removed or dummy data added) to add
it to the test-cases found on
http://github.com/SebastianRose/orghtmlexportdata/tree/master.




Best,

  Sebastian




Footnotes: ----------------

[1] Text search is case insensitive and there are no options yet (like
    `AND' or `OR'). The links to files with matches have `OCCUR=WORD'
    appended to play well with org-info.js.
    Scanning the files is _very_ slow because of the way they are
    validated. A local schema file could speed this up.

[2] A pager will be added soon, to go back in time.

[3] I plan to use this, to clean up unused images in the future. A Pager
    will be added to this list too. At least it will be a way to look up
    images and their path, if you plan to reuse them.




-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-14 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14 18:38 Validation and text search for export Sebastian Rose

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).