Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamretter/blogxq
A simple Blog application written in XQuery 1.0
https://github.com/adamretter/blogxq
Last synced: 23 days ago
JSON representation
A simple Blog application written in XQuery 1.0
- Host: GitHub
- URL: https://github.com/adamretter/blogxq
- Owner: adamretter
- Created: 2012-12-22T15:40:22.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-27T14:45:02.000Z (almost 12 years ago)
- Last Synced: 2024-10-10T16:24:14.055Z (about 1 month ago)
- Language: JavaScript
- Size: 1.79 MB
- Stars: 8
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
BlogXQ
======
A simple Blog application written in XQuery 1.0 and XSLT 2.0This currently powers the blog on adamretter.org.uk, and has some specific hard-coded parts which suit that website well. However, it could be adapted to work as a generic blog for any website with a little work.
This was originally written in a couple of days in a frenzy of hacking back in 2006 or 2007. Ideally there needs to be better separation of concerns between the logic and the UI. Some seperation exists in a kinda MVVM/MVC way where most of the presentation is in XSLT and the logic in XQuery, but there are some cross-overs. Ideally this should be re-written to use better templating.
The code has some eXist-db (http://www.exist-db.org) specific functions calls, but again these could be asbtracted without too much difficulty to make the code platform independent.
The code is provided as an eXist-db database backup that may be restored. The entry point is http://www.adamretter.org.uk/blog.xql which probably translates to http://localhost:8080/exist/rest/db/adamretter.org.uk/blog.xql on most development installations of eXist-db.
Features
--------
* Human Validation on forms using either reCaptcha or Asirra. Uses Asirra by default because it has Kitteh power.
* Spam detection and rejection in posted comments using Akismet.
* email notification of posted comments.
* Editing/Authoring support using a XHTML version of ckeditor.
* Atom feeds
* RDFa/microformat embedded metadata in HTML
* Its all in XML!