werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

todo.md (4808B)


      1 Plans and Ideas for the Future
      2 ==============================
      3 
      4 This page lists various assorted ideas and features that have been proposed at
      5 some point or another, nothing (except fixing the listed bugs) is assured to be
      6 implemented, many things here might turn out to be bad ideas.
      7 
      8 Features
      9 --------
     10 
     11 * Review ideas from: http://www.w3.org/TR/chips/ and http://www.w3.org/Provider/Style/URI and see if we can do better.
     12 * Canonize and redirect all requests, we already do this for things like missing or trailing /, should do the same for /. and /./, etc. Deleting trailing . and , should make pasted urls in emails work as links (**Mostly done in RC1**)
     13 * Blog:
     14 	* Comment threading.
     15 	* Some form of pagination (taking advantage of history browsing.) (**Partially done**)
     16 * Sitemaps:
     17 	* Index pages should be used for description of directories.
     18 	* Cache web sitemap generation. (**Done in RC0**)
     19 * Layout improvements:
     20 	* Need to find a way to rig the order of items in the sidebar.
     21 	* Right sidebar.
     22     * Top+left/right nav vars (breadcrumbs at the top, current dir listing on the side)
     23 	* Make it easier to disable all sidebars and headers/footers, eg., for full screen mode.
     24 	* More testing and optimizations for mobile browsers, eg., http://www.operamini.com/demo/ Left sidebar had some minor issues in cellphones at some point.
     25 * Better page titles (include whole path hierarchy?) (**Partially done, is it good enough now?**)
     26 * Allow utf-8 characters in path elements (need to make sure this is safe, and not sure how useful it will be)
     27 * General code:
     28 	* Write a regression test suite. (*Started*)
     29 	* Replace all references to non p9p/p9 programs (*Done?*)
     30 	* Document better the 'API' for sub-apps, both a set of environment vars apps can rely on (and in some cases set) and functions they can call (WIP).
     31 * Better generation of descriptive HTML META tags, eg.,: {META name="description" content="This is the Google Summer of Code blog for Plan9 and Inferno projects."} {META name="keywords" content="google, summer of code, inferno, plan9, programming"}
     32 * Should add werc to certain wikipedia lists:
     33 	* `http://en.wikipedia.org/wiki/List_of_content_management_systems`
     34 	* `http://en.wikipedia.org/wiki/Comparison_of_wiki_software`
     35 * Include txt2tags as builtin alternative to markdown.
     36 * Spam protection:
     37     * Mathematic pseudo-CAPTCHA ala WP's 'Math Comment Spam Protection Plugin'.
     38     * kfx (via cinap) suggests you just put a hidden text input box (or textarea?), "Dont write in this input box: [ ..... ]", if the bots fill it out ignore the post
     39 
     40 
     41 
     42 Future Plans and Blue Sky
     43 --------------------------
     44 
     45 * Wanted [apps](/apps/):
     46 	* Tagging, eg., append to _werc/tags
     47 	* Related links sidebar generation.
     48 	* [Bug/issue tracking app](/apps/gregor/).
     49 	* Hg/git repository browser.
     50 	* Implement AtomPub.
     51 
     52 * Further modularization and extensibility (meta-templates) (Is the new app framework enough for this?)
     53 * A way to wrap external cgi applications (eg., existing hg/git browser)
     54 * A way to generate static sites (ie., use werc as an offline  templating system)
     55 * [9P](http://9p.cat-v.org) interface.
     56 * New (simplified) markdown implementation, ideally in C or awk (maybe smu/libsmu by gottox?), yiyus great md2html.awk is a great start!
     57   * Simplified
     58   * Tables
     59   * Images
     60   * Autogenerated anchors/navigation boxes
     61   * No inline html
     62 
     63 Similar frameworks to be investigated and mined for good ideas to steal:
     64 
     65   * TinyTim: http://www.reddit.com/r/programming/duplicates/dbaee/
     66   * nanoblogger: http://nanoblogger.sourceforge.net/
     67 
     68 
     69 Known Bugs
     70 ----------
     71 
     72 * It seems that certain chars are not propely encoded in cookies, possibly broken chars: :&%[+ Fix should go in cgilib.rc^set_cookie (Have to figure out the proper way to scape cookie strings first)
     73 * If a dir under apps/ doesn't contain an app.rc file, werc fails to start. A possible fix would be to replace $werc_apps default with `apps/*/app.rc` instead of `apps/*/`, this would be backwards incompatible, but I doubt anyone uses that option.
     74 * Links in Blagh feeds become confused if markdown 'references' are used, markdown references suck, but I guess we need to address this somehow... 
     75 * Somewhat similarly to the abouve, relative urls in imgs, links, etc. can easily break when used in Blagh posts, so it is not all markdown's fault.
     76 * .md files of the following form, without a new line after the last = seem to cause problems in some setups:
     77 
     78     Foo Bar
     79     =======
     80 
     81 
     82 
     83 Fixed or WFM Bugs
     84 -----------------
     85 
     86 * Sitemap can handle $dirfilter inconsistently from other places (**fixed**).
     87 * Finding directories that are inaccessible (-rx) can generate an infinite loop (**Works for me? Fixed with new menu code?**)
     88 * Some cat-v.org bits still left over here and there, should make them configurable (1.0 blocker) (**fixed**?)