summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2012-12-31 13:37:55 +1300
committerStuart Rackham <srackham@methods.co.nz>2012-12-31 13:37:55 +1300
commit44e0d01d81582f8a68d26f0db0867c858530247d (patch)
treeae562ef0161d4c9bc2d6ccadd4a82a87c182aaaf
parent025404d7e35690fb26b0c13b9a044fa44f87f141 (diff)
downloadasciidoc-44e0d01d81582f8a68d26f0db0867c858530247d.tar.gz
Removed Wordpress backend into the blogpost project (where it belongs)
as an AsciiDoc backend plugin.
-rwxr-xr-xtests/testasciidoc.py4
-rw-r--r--wordpress.conf94
2 files changed, 2 insertions, 96 deletions
diff --git a/tests/testasciidoc.py b/tests/testasciidoc.py
index 679ad35..92ba419 100755
--- a/tests/testasciidoc.py
+++ b/tests/testasciidoc.py
@@ -32,9 +32,9 @@ else:
import asciidocapi
-BACKENDS = ('html4','xhtml11','docbook','wordpress','html5') # Default backends.
+BACKENDS = ('html4','xhtml11','docbook','html5') # Default backends.
BACKEND_EXT = {'html4':'.html', 'xhtml11':'.html', 'docbook':'.xml',
- 'wordpress':'.html','slidy':'.html','html5':'.html'}
+ 'slidy':'.html','html5':'.html'}
def iif(condition, iftrue, iffalse=None):
diff --git a/wordpress.conf b/wordpress.conf
deleted file mode 100644
index 3fffa68..0000000
--- a/wordpress.conf
+++ /dev/null
@@ -1,94 +0,0 @@
-# AsciiDoc configuration file for Wordpress HTML generation.
-# Resides in AsciiDoc global conf directory or $HOME/.asciidoc directory.
-# Generates HTML which plays nicely with Wordpress.
-# (the generated HTML is still valid HTML 4.01 Transitional though).
-#
-# NOTE: The resulting HTML needs to be further massaged with blogpost.py.
-# http://srackham.wordpress.com/blogpost-readme/
-
-include::html4.conf[]
-
-# Override various tags.
-[listtags-bulleted]
-text=
-
-[listtags-numbered]
-text=
-
-[listtags-labeled]
-text=
-
-[listtags-callout]
-text=
-
-[listtags-qanda]
-term=<em>|</em>
-text=
-
-[listtags-glossary]
-text=
-
-[listtags-bibliography]
-text=
-
-[tabletags-default]
-paragraph=<div>|</div>
-
-[tabletags-emphasis]
-paragraph=<div><em>|</em></div>
-
-[tabletags-strong]
-paragraph=<div><strong>|</strong></div>
-
-[tabletags-monospaced]
-paragraph=<div><code>|</code></div>
-
-[listingblock]
-<a name="{id}"></a>
-<p><b>{title}</b></p>
-<table border="0" bgcolor="#e8e8e8" width="100%" style="margin:0.2em 0;">
-<tr><td style="padding:0.5em;">
-<pre style="margin:0; padding:0;">
-|
-</pre>
-</td></tr>
-</table>
-
-[literalblock]
-<a name="{id}"></a>
-<p><b>{title}</b></p>
-<pre style="padding:0.5em; color:gray;">
-|
-</pre>
-
-[sidebarblock]
-<a name="{id}"></a>
-<table frame="void" bgcolor="#ffffee" width="100%" style="margin:0.2em 0;">
-<tr><td style="padding:0.5em;">
-<p style="margin-top:0;"><b>{title}</b></p>
-|
-</td></tr></table>
-
-[exampleblock]
-<a name="{id}"></a>
-<table frame="void" width="100%" style="margin:0.2em 0;">
-<tr><td style="border-left:3px solid #e8e8e8; padding:0.5em;">
-|
-</td></tr></table>
-<p><b>{caption={example-caption} {counter:example-number}. }</b>{title}</p>
-
-[admonitionblock]
-<a name="{id}"></a>
-<table frame="void" style="margin:0.2em 0;">
-<tr valign="top">
-<td style="padding:0.5em;">
-{data-uri%}{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}">
-{data-uri#}{icons#}<img alt="{caption}" src="data:image/png;base64,
-{data-uri#}{icons#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/{name}.png}")}"}">
-{icons%}<p><b><u>{caption}</u></b></p>
-</td>
-<td style="border-left:3px solid #e8e8e8; padding:0.5em;">
-<p><b>{title}</b></p>
-|
-</td></tr></table>
-