Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

2012-09-26

.chm to .html conversion

7.14: news.cyb/xp/.chm to .html conversion:
you need a CHM decompiler
(You can use HTML Help Workshop)
[but it seems that is just a dev's api
not a command line tool ...]
counter-suggestion:
. decompile CHM using the built-in command line tool:
hh.exe . eg,
C:\>HH.EXE -decompile D:/output-folder D:/converted.chm
where "decompile-folder" could be simply "."
Decompiling the file produces a slew of
HTML and image files,
together with the table of contents (.hhc) file,
index (.hhk) file, and a few other supporting files.
The only decompiler with any additional features
is KeyTools,
as this can try to rebuild the project (.hhp) file.
You will need this file if you want to recompile the help project.
One thing to note is that the decompile/recompile
isn't a "round-trip" process.
Certain features that the help author added
to the original help file
can't be recovered when you decompile it,
so these may no longer work properly
after you've recompiled.
This is especially true in the area of
context-sensitive help,
which may be broken in the new version of the file.
7.14: cyb/fs/.chm to .html conversion:
web:
. the .chm file type is microsoft's compiled html
and I found there are decompilers for it
on both xp (built-in) and on ubuntu (openware).
proj: done on xp:
. I did it with hh! [@] see snapshot
. to use the terminal without the help of the
[open a terminal here] file menu item
-- where did that go?!
(I need to be in the admin acct) --
use the run box, and type in cmd.exe;
then try the command
(change directory to virtual drive E)
ie (cd E:)
which is really just link to a long pathname;
then in the hh command,
I'll need to mention the drive in the file paths,
and I'll rename the files
to make my command typing easier;
eg, rename "(programming python.chm) to pp.chm,
create a folder named pp,
and then run this command:
hh -decompile e:\pp e:\pp.chm .
. instantly it's filled with html files
-- data liberation !

mis:
. (cd E:) doesn't work?
likely because I don't own that space?

7.14: mis.cyb/xp/
virtual device has strange permissions:

. I have some ms programs that need their installer cd
to be in the cd drive at all times;
so, running these programs over-uses the cd drive,
and also the drive is slowing down these programs .
. the fix is to copy the cd to a folder,
and then use a command to
associate that folder with some spare drive letter .
. now I want to use that drive as a temp drive;
because when doing commands that use pathnames
it's easier to type in E:\
than C:\documents and settings\myacct\ .
. but I'm having trouble with the permissions,
and they are not found under properties?
I'll have to check a dos cookbook .
. I thought it was the admin's,
so the user would only allow reading not deleting;
but, xp is not letting the admin delete files either?
. so,
now nobody can delete anything from E:,
but anyone can add to it,
and move things within it;
eg, I created a trash folder,
and put all my done work into that folder .
todo:
. the next thing to try is removing the startup script
that creates the virtual device links .
. maybe it will have more permissions then .

mis.cyb/xp/
command line locks the current folder:

. it would not let me move one done folder to trash folder
because it's in use?
the command line's current folder was set to that,
so I moved it out of there (cd ..)
and then I could move it .

mis.cyb/xp/
command line output confused by virtual cd drive:

. I asked if I could (cd doneDir; rm *.*)
and it said it didn't recognized that command;
but it was supposed to remove files, and it did!
no it thought it did,
the finder shows it's still there .
. I can say (cd e:; del trash)
then I can reply sure to the "(are you sure?),
and it comes back having done nothing .

2010-05-31

ubuntu's WYSIWYG web editors

web.addn/free html editors:
5.31: web:

>> Ubuntu >> Packages >> lucid >> web:

KompoZer WYSIWYG web page editing.
a complete Web Authoring System
that combines web file management
KompoZer is designed to be extremely easy to use,
making it ideal for non-technical computer users
who want to create an attractive, professional-looking web site
without needing to know HTML or web coding .

web based HTML WYSIWYG editor
TinyMCE is a platform independent web based
Javascript and HTML WYSIWYG editor control
released as Open Source under LGPL
by Moxiecode Systems AB.
It has the ability to convert HTML TEXTAREA fields
or other HTML elements to editor instances.
TinyMCE is very easy to integrate into
other Content Management Systems.
* Easy to integrate, takes only two lines of code.
* Customizable through themes and plugins.
* Customizable XHTML 1.0 output.
* Block invalid elements and force attributes.
* International language support (Language packs)
* Multiple browser support, Mozilla, MSIE, FireFox, Opera and Safari
. version 2 of tinymce is older version
the google web app way -- openware:
www.openwebware.com/
. a free cross-browser WYSIWYG editor
that's packed with every rich-text editing feature
you need to make your content management system
that much better.

Setting up openWYSIWYG is so easy,
you can quickly turn any html`textarea
into a powerful WYSIWYG editor
with just a few simple lines of code.

Packed with every rich text editing feature you need,
openWYSIWYG gives you total control over formatting your text.
The ultimate html`textarea replacement
for your content management system.
Coded Entirely in JavaScript
Regardless of what language you use to code your web applications,
openWYSIWYG will work.
openWYSIWYG is coded entirely in client side JavaScript,
so it will work with any web programming language .
other tools

Text-to-HTML conversion tool
Markdown is a text-to-HTML conversion tool for web writers. It allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Macro processor for HTML documents
Mp4h is a core component of the Website Meta Language (WML).
Mp4h is a macro processor for HTML documents,
with powerful programming features.
It allows definition and expansion of new tags
with a syntax familiar to HTML authors.

off-line HTML generation toolkit
WML (Website META Language) is a
free and extensible Webdesigner's off-line
HTML generation toolkit for Unix.
WML consists of a control frontend
driving up to nine backends
in a sequential pass-oriented filtering scheme.
Each backend provides one particular core language.
For maximum power WML additionally ships with
a well-suited set of include files
which provide higher-level features
build on top of the backends core languages.
While not trivial and idiot proof
WML provides most of the core features
real hackers always wanted for HTML generation.
Homepage: www.thewml.org/

Content management platform to maintain complex web sites
WebGUI is a content management platform based on
Apache, mod_perl and MySQL,
built to allow average business users
to build and maintain complex web sites.
It is modular, pluggable, and platform independent.
. get some detail$ . no mention of wysiwyg .

pretty print html
hindent

error-tolerant HTML parser for Python
The BeautifulSoup class turns arbitrarily bad HTML
into a tree-like nested tag-soup list of Tag objects
and text snippets.
A Tag object corresponds to an HTML tag.
It knows about the HTML tag's attributes,
and contains a representation of everything contained
between the original tag and its closing tag (if any).
It's easy to extract Tags that meet certain criteria.

HTML syntax checker and reformatter
Corrects markup in a way compliant with the latest standards,
and optimal for the popular browsers.
It has a comprehensive knowledge of the attributes
defined in the HTML 4.0 recommendation from W3C,
and understands the US ASCII, ISO Latin-1, UTF-8
and the ISO 2022 family of 7-bit encodings.
In the output:
* HTML entity names for characters are used when appropriate.
* Missing attribute quotes are added, and mismatched quotes found.
* Tags lacking a terminating '>' are spotted.
* Proprietary elements are recognized and reported as such.
* The page is reformatted, from a choice of indentation styles.
Tidy is a product of the World Wide Web Consortium.

check websites and HTML documents for broken links
linkchecker-gui

Makes an HTML site map from meta tags from other HTML pages
This Python script reads the META DESCRIPTION tags
from all HTML files under a directory
and generates a site map from them.
It can be easily configured with a simple dotfile.

5.21: about.com's take:

Aptana Studio Community edition:
"( Instead of focusing on the HTML,
Aptana focuses on the JavaScript
and other elements that allow you to create Rich Internet Applications.
One of the things I really like
is the outline view that makes it really easy to visualize the DOM.
This makes for easier CSS and JavaScript development.
If you are a developer creating Web 2.0 applications,
Aptana Studio is a good choice.)
5.31: not easy to find:
. for linux as app or eclipse plugin;
but not installable by ubuntu .

Screem:
"( Screem is a versatile text Web page editor and XML editor.
It recognizes the Doctype you're using
and validates and completes tags based on that.)
5.31: Screem ubuntu lucid download is missing:
--. for hardy but not lucid (the current release)
"(Unlike most other web site / HTML editors
SCREEM does not provide a WYSIWYG display of pages.)

2009-12-30

blogger.com

mis.addn/net.g'blogger.com/html mode is not straight:
11.28:
. when I would use <...> in the text,
it would give it a special meaning,
so then I used an html editor to make the string
& l t ; ... & g t ;
and used blogger's html mode to insert it:
this resulted in yet another monstrosity !
. I then used the mac symbol picker to choose some unicode <> pairs
that were not ascii, but the same shape only in a bold font .
. so I pasted that html code using html mode,
and it's html mode was adding br.tags after every newline;
which of course was causing double spacing everywhere .
. so then I had to bring the code into a temp edit page,
and replace all the br.tags with blanks .
finally!
tech:
. interestingly I must have came across the same problem
without even crying about it -- or remembering it .
. my reaction that time was to replace the <...> with italics .
11.29:
. ironic, I forgot running into this problem,
and my first encounter was smarter than my 2nd!:
6.23/mis.addn/net.g'blog/importing html:
. the copy from seamonkey code to blog messed up, adding newlines,
try saving the page and then opening with firefox,
then copying the page normally (not by view-copying code)
and see if it saves the links and other html .
12.15: mis.addn/{net.g'blog, mac}/strange mac char's:
. when having trouble with brackets in g'blogger's editor:
http://amerdreamduh.blogspot.com/2009/11/getting-organized.html
I replaced them with a unicode that didn't turn out well later
atleast when viewed from a pc -- using either {chrome, seamonkey }.
. worse, I saved the page as the html I posted,
so, my local copy looks like a mess too! .
. I edited both by replacing the brackets with italics font,
or if they were something like <...> or <> then I used [/]x .

12.22: news.addn/net.google/The meaning of open:
Posted: 21 Dec 2009 03:17 PM PST
The Official Google Blog
date Tue, Dec 22, 2009 at 10:08 AM
subject Official Google Blog
...
That's why we have a team
— the Data Liberation Front (dataliberation.org) —
whose job it is to make "checking out" easy.
Recent examples of their work include Blogger
(people who choose to leave Blogger for another service
can easily take their content with them) .


12.28: web.addn/net.blogger.com/display angle brackets:
. yea! my problem at blogger.com has a solution I can find!
superuser.com/...how-to-display-angle-brackets-in-a-pre-in-wordpress
has this solution:
http://wordpress.org/extend/plugins/wp-syntax/other_notes/:
Example 4: If your code already has html entities escaped,
use escaped="true" as an option;
. surround your code with this:
<pre lang="xml" escaped="true">
</pre>
and replace left angle brackets with the usual html code & l t ;, etc .