* Paging HTML export by script -- preview
@ 2008-03-10 12:31 Sebastian Rose
2008-03-10 13:29 ` Sebastian Rose
2008-03-12 7:53 ` Rainer Stengele
0 siblings, 2 replies; 8+ messages in thread
From: Sebastian Rose @ 2008-03-10 12:31 UTC (permalink / raw)
To: [emacs-orgmode]
[-- Attachment #1: Type: text/plain, Size: 2083 bytes --]
Dear reader,
have you ever dreamed of seeing an HTML exported org file in info view
mode :-P ??? Wonder what that is? No?
Then you really should visit
http://www.legito.net/org-info-js/
I somehow managed to sqeeze a lot of meaningless and completely wrong
bunch of digits and chars in on horrible file, copy protected the code
by additional hard shaking, named it org-info.js and after all this is
what came out of it.
This cruel hack somehow works any way and is meant as an appetizer for
more of this sort.
Bastien Guerry was so kind to give this unfinished durty piece work a
place on his otherwise clean an polished site.
Visit the URL and play around there a little bit. Dropping a note here
if your browser is daring to play this script and sloped enough to
display it's results in a human readable way, so we can add his name AND
version to hall of fame of supported browsers.
You should be able to do part of the navigation by using the accesskey
feature of current browsers (i.e. in Opera prefix each of the keys by
SHIFT-ESC):
'n' - next (info view mode)
'p' - previous (info view mode)
'i' - go to the index (info view mode)
't' - toggle view (always)
The code currently gets completely reworked to own up all the promisses
of it's documentation.
Since the accesskeys in some current webbrowsers are for disabled people
(a third hand or even a 6th finger will do to press all those keys at
once), I'd appreciate a good idea (or some code) to get arround these
accesskey thing (preferably without a 30 code lines browser detection)
to be able to move around the file with idealy one five fingered hand. I
could imagine an invisible textfield grapping the focus if lost and
using standard 'onkeyup' or something. If this works, it works in most
browsers I think. My hope is, that this way we could even use the famous
standard emacs accesskey C-x M-c butterfly :-D (which is a
mega-accesskey actualy).
I have to close now, and start to do the ever lasting code clean up.
Regards,
Sebastian
[-- Attachment #2: sebastian_rose.vcf --]
[-- Type: text/x-vcard, Size: 499 bytes --]
begin:vcard
fn:Sebastian Rose
n:Rose;Sebastian
email;internet:sebastian_rose@gmx.de
title:Fachinformatiker/Anwendendungsentwicklung
tel;cell:+49 173 / 83 93 417
note;quoted-printable:Entwicklung von Internetanwendungen und Programmen mit freien Werkzeu=
gen und Bibliotheken.=0D=0A=
=0D=0A=
PHP, Java, C/C++, Bash, Perl, Apache, MySQL, PostgreSQL, xt::commerce=
, Typo3, Server, Netzwerk, Desktop, Datenbank, gtkmm=0D=0A=
x-mozilla-html:FALSE
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Paging HTML export by script -- preview
2008-03-10 12:31 Paging HTML export by script -- preview Sebastian Rose
@ 2008-03-10 13:29 ` Sebastian Rose
2008-03-10 13:36 ` Carsten Dominik
2008-03-12 7:53 ` Rainer Stengele
1 sibling, 1 reply; 8+ messages in thread
From: Sebastian Rose @ 2008-03-10 13:29 UTC (permalink / raw)
Cc: [emacs-orgmode]
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
Sebastian Rose schrieb:
> Since the accesskeys in some current webbrowsers are for disabled people
> (a third hand or even a 6th finger will do to press all those keys at
> once), I'd appreciate a good idea (or some code) to get arround these
> accesskey thing (preferably without a 30 code lines browser detection)
> to be able to move around the file with idealy one five fingered hand. I
> could imagine an invisible textfield grapping the focus if lost and
> using standard 'onkeyup' or something. If this works, it works in most
> browsers I think. My hope is, that this way we could even use the famous
> standard emacs accesskey C-x M-c butterfly :-D (which is a
> mega-accesskey actualy).
>
OK. The plan must be:
diplay footer content as an emacs modeline (question of users stylesheet
though)
and below, bet you guessed it,
the textfied visible like emacs's minibuffer.
If this here will work?
C-x g RET 2.1 RET go to section 2.1
2.1 RET will for shure
Wow - this will be tons of fun, will it?
Regards,
Sebastian
[-- Attachment #2: sebastian_rose.vcf --]
[-- Type: text/x-vcard, Size: 499 bytes --]
begin:vcard
fn:Sebastian Rose
n:Rose;Sebastian
email;internet:sebastian_rose@gmx.de
title:Fachinformatiker/Anwendendungsentwicklung
tel;cell:+49 173 / 83 93 417
note;quoted-printable:Entwicklung von Internetanwendungen und Programmen mit freien Werkzeu=
gen und Bibliotheken.=0D=0A=
=0D=0A=
PHP, Java, C/C++, Bash, Perl, Apache, MySQL, PostgreSQL, xt::commerce=
, Typo3, Server, Netzwerk, Desktop, Datenbank, gtkmm=0D=0A=
x-mozilla-html:FALSE
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Paging HTML export by script -- preview
2008-03-10 13:29 ` Sebastian Rose
@ 2008-03-10 13:36 ` Carsten Dominik
0 siblings, 0 replies; 8+ messages in thread
From: Carsten Dominik @ 2008-03-10 13:36 UTC (permalink / raw)
To: sebastian_rose; +Cc: [emacs-orgmode]
On Mar 10, 2008, at 2:29 PM, Sebastian Rose wrote:
> Sebastian Rose schrieb:
>
>> Since the accesskeys in some current webbrowsers are for disabled
>> people (a third hand or even a 6th finger will do to press all
>> those keys at once), I'd appreciate a good idea (or some code) to
>> get arround these accesskey thing (preferably without a 30 code
>> lines browser detection) to be able to move around the file with
>> idealy one five fingered hand. I could imagine an invisible
>> textfield grapping the focus if lost and using standard 'onkeyup'
>> or something. If this works, it works in most browsers I think. My
>> hope is, that this way we could even use the famous standard emacs
>> accesskey C-x M-c butterfly :-D (which is a mega-accesskey actualy).
>
> OK. The plan must be:
>
> diplay footer content as an emacs modeline (question of users
> stylesheet though)
>
> and below, bet you guessed it,
>
> the textfied visible like emacs's minibuffer.
>
> If this here will work?
>
> C-x g RET 2.1 RET go to section 2.1
>
> 2.1 RET will for shure
>
>
>
> Wow - this will be tons of fun, will it?
Yes, it will.
- Carsten
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Paging HTML export by script -- preview
2008-03-10 12:31 Paging HTML export by script -- preview Sebastian Rose
2008-03-10 13:29 ` Sebastian Rose
@ 2008-03-12 7:53 ` Rainer Stengele
2008-03-12 8:39 ` Bastien
2008-03-12 10:36 ` Sebastian Rose
1 sibling, 2 replies; 8+ messages in thread
From: Rainer Stengele @ 2008-03-12 7:53 UTC (permalink / raw)
To: sebastian_rose; +Cc: [emacs-orgmode]
Dear Sebastian,
at the moment I can't see anything than a help line at the top of the page in K-Meleon, Firefox, SeaMonkey or Internet Explorer 7.
The contents - which I could see yesterday - is shown for a second and then disappearing.
rainer
Sebastian Rose schrieb:
> Dear reader,
>
>
> have you ever dreamed of seeing an HTML exported org file in info view
> mode :-P ??? Wonder what that is? No?
>
> Then you really should visit
>
> http://www.legito.net/org-info-js/
>
> I somehow managed to sqeeze a lot of meaningless and completely wrong
> bunch of digits and chars in on horrible file, copy protected the code
> by additional hard shaking, named it org-info.js and after all this is
> what came out of it.
>
> This cruel hack somehow works any way and is meant as an appetizer for
> more of this sort.
>
> Bastien Guerry was so kind to give this unfinished durty piece work a
> place on his otherwise clean an polished site.
>
> Visit the URL and play around there a little bit. Dropping a note here
> if your browser is daring to play this script and sloped enough to
> display it's results in a human readable way, so we can add his name AND
> version to hall of fame of supported browsers.
>
> You should be able to do part of the navigation by using the accesskey
> feature of current browsers (i.e. in Opera prefix each of the keys by
> SHIFT-ESC):
>
> 'n' - next (info view mode)
> 'p' - previous (info view mode)
> 'i' - go to the index (info view mode)
> 't' - toggle view (always)
>
>
> The code currently gets completely reworked to own up all the promisses
> of it's documentation.
>
>
> Since the accesskeys in some current webbrowsers are for disabled people
> (a third hand or even a 6th finger will do to press all those keys at
> once), I'd appreciate a good idea (or some code) to get arround these
> accesskey thing (preferably without a 30 code lines browser detection)
> to be able to move around the file with idealy one five fingered hand. I
> could imagine an invisible textfield grapping the focus if lost and
> using standard 'onkeyup' or something. If this works, it works in most
> browsers I think. My hope is, that this way we could even use the famous
> standard emacs accesskey C-x M-c butterfly :-D (which is a
> mega-accesskey actualy).
>
>
>
> I have to close now, and start to do the ever lasting code clean up.
>
>
>
> Regards,
>
> Sebastian
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: Paging HTML export by script -- preview
2008-03-12 7:53 ` Rainer Stengele
@ 2008-03-12 8:39 ` Bastien
2008-03-12 10:38 ` Sebastian Rose
2008-03-12 10:45 ` Sebastian Rose
2008-03-12 10:36 ` Sebastian Rose
1 sibling, 2 replies; 8+ messages in thread
From: Bastien @ 2008-03-12 8:39 UTC (permalink / raw)
To: Rainer Stengele; +Cc: [emacs-orgmode]
Rainer Stengele <rainer.stengele@diplan.de> writes:
> at the moment I can't see anything than a help line at the top of the
> page in K-Meleon, Firefox, SeaMonkey or Internet Explorer 7. The
> contents - which I could see yesterday - is shown for a second and
> then disappearing.
My bad. I fall in a black hole of sleep in the middfle of a file
transfer. Please check again.
--
Bastien
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: Paging HTML export by script -- preview
2008-03-12 7:53 ` Rainer Stengele
2008-03-12 8:39 ` Bastien
@ 2008-03-12 10:36 ` Sebastian Rose
1 sibling, 0 replies; 8+ messages in thread
From: Sebastian Rose @ 2008-03-12 10:36 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 4711 bytes --]
Rainer Stengele schrieb:
> Dear Sebastian,
>
> at the moment I can't see anything than a help line at the top of the
> page in K-Meleon, Firefox, SeaMonkey or Internet Explorer 7.
> The contents - which I could see yesterday - is shown for a second and
> then disappearing.
>
Yes, my fault - sorry.
Wow K-Meleon - I'll have google that one :-)
Bastien was so kind to update the script several times for me now. The
current version should at least show something again. The code for the
'minibuffer' is, as is the rest, very experimental :) - the reaction on
first input is very delayed somehow and there are now messages yet (like
'already the first/last page' ...)
And the movement works mainly for the info view mode now, but I will add
more later (weekend maybe) when the basic keyboard code is working
better. The aim is to support single key navigation AND multikey
commands/filters for creating sparse trees, todo trees and maybe in the
far future a column view even. org-export-html will by then replace all
that ical stuff ;-D
Since I changed the whole thing very much yesterday, the most of the
docs is obsolete now.
Please see the source of of the HTML file for usage and read the new
section 'ChangeLog' for details.
One more to say:
The current version works with a new XHTML structure to better support
scripting and traversing the DOM in general. Carsten was so nice to
rewrite the HTML-export to have produce a first draft of this 'future
version' of HTML-export and send it here. The new folding is entirely
based on that new structure.
It now needs some thinking about the UI of the script. The folding in
combination with keys and view toggling espacially (maybe unfold the
current section when toggling from info to 'plain' view and scroll the
window to that point as a start).
Any ideas about that are very much appreciated.
Regards,
Sebastian
> rainer
>
> Sebastian Rose schrieb:
>> Dear reader,
>>
>>
>> have you ever dreamed of seeing an HTML exported org file in info view
>> mode :-P ??? Wonder what that is? No?
>>
>> Then you really should visit
>>
>> http://www.legito.net/org-info-js/
>>
>> I somehow managed to sqeeze a lot of meaningless and completely wrong
>> bunch of digits and chars in on horrible file, copy protected the code
>> by additional hard shaking, named it org-info.js and after all this is
>> what came out of it.
>>
>> This cruel hack somehow works any way and is meant as an appetizer for
>> more of this sort.
>>
>> Bastien Guerry was so kind to give this unfinished durty piece work a
>> place on his otherwise clean an polished site.
>>
>> Visit the URL and play around there a little bit. Dropping a note here
>> if your browser is daring to play this script and sloped enough to
>> display it's results in a human readable way, so we can add his name
>> AND version to hall of fame of supported browsers.
>>
>> You should be able to do part of the navigation by using the accesskey
>> feature of current browsers (i.e. in Opera prefix each of the keys by
>> SHIFT-ESC):
>>
>> 'n' - next (info view mode)
>> 'p' - previous (info view mode)
>> 'i' - go to the index (info view mode)
>> 't' - toggle view (always)
>>
>>
>> The code currently gets completely reworked to own up all the
>> promisses of it's documentation.
>>
>>
>> Since the accesskeys in some current webbrowsers are for disabled
>> people (a third hand or even a 6th finger will do to press all those
>> keys at once), I'd appreciate a good idea (or some code) to get
>> arround these accesskey thing (preferably without a 30 code lines
>> browser detection) to be able to move around the file with idealy one
>> five fingered hand. I could imagine an invisible textfield grapping
>> the focus if lost and using standard 'onkeyup' or something. If this
>> works, it works in most browsers I think. My hope is, that this way we
>> could even use the famous standard emacs accesskey C-x M-c butterfly
>> :-D (which is a mega-accesskey actualy).
>>
>>
>>
>> I have to close now, and start to do the ever lasting code clean up.
>>
>>
>>
>> Regards,
>>
>> Sebastian
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
[-- Attachment #2: sebastian_rose.vcf --]
[-- Type: text/x-vcard, Size: 499 bytes --]
begin:vcard
fn:Sebastian Rose
n:Rose;Sebastian
email;internet:sebastian_rose@gmx.de
title:Fachinformatiker/Anwendendungsentwicklung
tel;cell:+49 173 / 83 93 417
note;quoted-printable:Entwicklung von Internetanwendungen und Programmen mit freien Werkzeu=
gen und Bibliotheken.=0D=0A=
=0D=0A=
PHP, Java, C/C++, Bash, Perl, Apache, MySQL, PostgreSQL, xt::commerce=
, Typo3, Server, Netzwerk, Desktop, Datenbank, gtkmm=0D=0A=
x-mozilla-html:FALSE
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: Paging HTML export by script -- preview
2008-03-12 8:39 ` Bastien
@ 2008-03-12 10:38 ` Sebastian Rose
2008-03-12 10:45 ` Sebastian Rose
1 sibling, 0 replies; 8+ messages in thread
From: Sebastian Rose @ 2008-03-12 10:38 UTC (permalink / raw)
To: Bastien; +Cc: [emacs-orgmode], Rainer Stengele
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
My fault to send this tons of broken scripts to you Bastien.
Thank you so much for updating!
Bastien schrieb:
> Rainer Stengele <rainer.stengele@diplan.de> writes:
>
>> at the moment I can't see anything than a help line at the top of the
>> page in K-Meleon, Firefox, SeaMonkey or Internet Explorer 7. The
>> contents - which I could see yesterday - is shown for a second and
>> then disappearing.
>
> My bad. I fall in a black hole of sleep in the middfle of a file
> transfer. Please check again.
>
I did - as programmers always do - in the middle of writing the docs :-)
[-- Attachment #2: sebastian_rose.vcf --]
[-- Type: text/x-vcard, Size: 499 bytes --]
begin:vcard
fn:Sebastian Rose
n:Rose;Sebastian
email;internet:sebastian_rose@gmx.de
title:Fachinformatiker/Anwendendungsentwicklung
tel;cell:+49 173 / 83 93 417
note;quoted-printable:Entwicklung von Internetanwendungen und Programmen mit freien Werkzeu=
gen und Bibliotheken.=0D=0A=
=0D=0A=
PHP, Java, C/C++, Bash, Perl, Apache, MySQL, PostgreSQL, xt::commerce=
, Typo3, Server, Netzwerk, Desktop, Datenbank, gtkmm=0D=0A=
x-mozilla-html:FALSE
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: Paging HTML export by script -- preview
2008-03-12 8:39 ` Bastien
2008-03-12 10:38 ` Sebastian Rose
@ 2008-03-12 10:45 ` Sebastian Rose
1 sibling, 0 replies; 8+ messages in thread
From: Sebastian Rose @ 2008-03-12 10:45 UTC (permalink / raw)
To: Bastien; +Cc: [emacs-orgmode], Rainer Stengele
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
What about:
When toggling from info to plain view mode, display same section
unfolded. When using 'p' and 'n' in plain view now, unfold the
next/previous section acordingly, and fold the rest. Just pressing RET
or space (or just empty input) chages folding globaly like SHIFT-TAB in
emacs (orgmacs ... or orgcs?).
[-- Attachment #2: sebastian_rose.vcf --]
[-- Type: text/x-vcard, Size: 499 bytes --]
begin:vcard
fn:Sebastian Rose
n:Rose;Sebastian
email;internet:sebastian_rose@gmx.de
title:Fachinformatiker/Anwendendungsentwicklung
tel;cell:+49 173 / 83 93 417
note;quoted-printable:Entwicklung von Internetanwendungen und Programmen mit freien Werkzeu=
gen und Bibliotheken.=0D=0A=
=0D=0A=
PHP, Java, C/C++, Bash, Perl, Apache, MySQL, PostgreSQL, xt::commerce=
, Typo3, Server, Netzwerk, Desktop, Datenbank, gtkmm=0D=0A=
x-mozilla-html:FALSE
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-03-12 10:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10 12:31 Paging HTML export by script -- preview Sebastian Rose
2008-03-10 13:29 ` Sebastian Rose
2008-03-10 13:36 ` Carsten Dominik
2008-03-12 7:53 ` Rainer Stengele
2008-03-12 8:39 ` Bastien
2008-03-12 10:38 ` Sebastian Rose
2008-03-12 10:45 ` Sebastian Rose
2008-03-12 10:36 ` 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).