diff --git a/static/styles-site.css b/static/styles-site.css index 5733452..65f909c 100644 --- a/static/styles-site.css +++ b/static/styles-site.css @@ -23,10 +23,13 @@ body, h1, h2, h4, h5, h6,ol, ul, li, p, input, textarea, select { font-size: 12px; } -p a, .entry a { +p, li {font-size: 12px;line-height: 16px;} + +p a, .entry a, li a { color: #588E03; border-bottom: 1px dotted #588E03; - text-decoration: none; } + text-decoration: none; + } #menu a { color: brown; diff --git a/templates/about-api.html b/templates/about-api.html index 7a8fd05..f2f9f73 100644 --- a/templates/about-api.html +++ b/templates/about-api.html @@ -2,6 +2,7 @@ {% block content %}

- wordoff has an api + Use wordoff through its API by POSTing to the /api/clean method with a single html argument:

+
curl -d html=<Dirty HTML> http://wordoff.org/api/clean
{% endblock %} \ No newline at end of file diff --git a/templates/about.html b/templates/about.html index 024ce18..9a80597 100644 --- a/templates/about.html +++ b/templates/about.html @@ -2,12 +2,24 @@ {% block content %}

- wordoff applies the following rules to strip the cruft that is pasted into - wysiwyg editors from word: + Wordoff applies the following rules to strip the cruft that is pasted into + WYSIWYG editors from Word:

+

+ Wordoff is written in Python and runs on Django in Google App Engine. It was designed as a demonstration + project for a short talk at Oxford Geek Nights. + The logo uses the Sketch Rockwell font. +

+

+ Please improve Wordoff:

+ {% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index a2bbade..01f7050 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,7 +26,6 @@ start | about | api | - bugs | © tom dyson 2008 diff --git a/wordoff.py b/wordoff.py index 14cd1e3..4b891cc 100644 --- a/wordoff.py +++ b/wordoff.py @@ -46,7 +46,7 @@ def superClean(str): clean = stripAttributes(str) cleaner = stripSpans(clean) cleaner = stripDivs(cleaner) - cleaner = xenophobia(cleaner) + #cleaner = xenophobia(cleaner) cleaner = stripEmptyElements(cleaner) cleaner = stripEmptyElements(cleaner) cleaner = stripEmptyElements(cleaner)