emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Validation and text search for export
Date: Fri, 14 Nov 2008 19:38:58 +0100	[thread overview]
Message-ID: <87bpwicful.fsf@kassiopeya.MSHEIMNETZ> (raw)

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

                 reply	other threads:[~2008-11-14 18:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpwicful.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).