aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-07Changed image CSS style to apply also to unlinked imagesAdrian Kummerlaender
2014-09-07Added picture to contact pageAdrian Kummerlaender
2014-09-06Simplified access to datasource in target resolutionAdrian Kummerlaender
2014-09-06Removed unnecessarily complex category sorting logicAdrian Kummerlaender
* it was primarily implemented this way to complement the CSS layout of the page * after trying different approaches it turned out that plain sorting by digest size gives the best results for the contents of my personal page
2014-09-06Replaced custom build system with BuildXSLTAdrian Kummerlaender
* the bootstrapping transformation is not specific to this project and may be used as a starting point for all kinds of projects making use of InputXSLT ** this is why it was extracted into the separate BuildXSLT repository * the new "make.xml" _Makefile_ has to be passed as input to "build.xsl" ** e.g. "ixslt --input make.xml --transformation ../BuildXSLT/build.xsl" * "make.xml" defines the basic transformation chain and its input
2014-09-05Changed make and summarization output method to textAdrian Kummerlaender
* the summarization is generated as plain text and is the sole output of the make stylesheet ** i.e. the correct XSL output method is text, not xml
2014-09-04Removed square bracket syntax for includes in detail stylesheetsAdrian Kummerlaender
* a recent change to InputXSLT enables transformations passed to FunctionGenerate as DOM-trees to behave exactly as if they where located in the same directory as the calling transformation
2014-09-04Moved generation stage stylesheets into "detail" folderAdrian Kummerlaender
* they are read by FunctionReadFile to and passed to FunctionGenerate as a DOM tree to execute them as if they where located in the parent directory ** this is required so they behave as expected without requiring all paths to be absolute * this change was implemented to make it clear that "make.xsl" is the main generation stylesheet ** additionally this further separates the framework implementation from the site-specific stylesheets and contents
2014-09-04Updated source tree datasource query to be more explicitAdrian Kummerlaender
* "00_content" directory is now explicitly referenced * added "source_tree" variable to task processing transformation ** changed datasource meta-tag expressions to reference "source_tree" instead of "$root/source"
2014-09-04Extracted formatter functionality into formatter helper stylesheetAdrian Kummerlaender
* functionality for formatting markdown using kramdown and embellishing the result with e.g. syntax highlighting is required for all content types
2014-09-03Restructured main datasource mode processingAdrian Kummerlaender
* as both the "expression" and "full" mode require only a single call to the "compile" helper template they where merged ** this enabled us to completly remove the fallback call to "compile" * this outer choose statement decides between the "iterate" mode and single call modes
2014-09-03Revamped transformation layout to remove need for the "01_files" levelAdrian Kummerlaender
* "01_files" contained a single "source" transformation which listed the contents of the "00_content" level ** this was unnecessary as the base "list" transformation already lists the contents of all levels * added new "expression" mode to datasource meta tag processing in the task processing transformation ** this expression modes allows for the evaluation of arbitrary XPath statements *** e.g. a query to the results of "list.xsl" * modified base transformation datasource structures to include the level and meta tree * modified all existing content transformations to query the level-tree instead of the deprecated "source.xml" ** i.e. XPath statements ** the main change is that directories are available as "directory" nodes instead of nodes named by the directory name * these changes where implemented to simplify the architecture and to increase flexibility
2014-09-02Moved author name into the meta treeAdrian Kummerlaender
* modified all transformations requiring the author name accordingly
2014-09-02Fixed some broken content linksAdrian Kummerlaender
* the article "2014-07-11_mapping_arrays_using_tuples_in_cpp11" contained a full link to blog.kummerlaender.eu instead of an relative one * the page "input_xslt" contained a wrong cgit link
2014-08-29Removed need for prefixing datasource source attributeAdrian Kummerlaender
* transformations contain one or more "datasource" meta nodes ** these nodes define the required datasources ** up until now it was required to define the whole path to the file to be loaded * the implementation of directory linkage in b942f8e removed the underlying need for providing the source / target prefix ** this commit now updates the generation transformations to match this change *** this simplifies the datasource definition process for the end-user *** additionally it makes the target / source directories easier to maintain * changed cleanage task implementation to remove the whole directory and recreate it from scratch ** otherwise directory linkage and in turn the whole generation failed when the target directory did not exist in the first place * removed task reordering in the process transformation ** tasks are now processed exactly as they were scheduled ** this was changed so that e.g. the "00_content" directory is linked before the first datasource is required
2014-08-29Extracted task counters into variablesAdrian Kummerlaender
* counter value for total and successful tasks moved into named variables ** this improves readability of success summarization logic
2014-08-29Updated contact page and prettylist CSSAdrian Kummerlaender
* fixed prettylist CSS to work in both WebKit and Gecko
2014-08-28Added formatted error output to the summarize transformationAdrian Kummerlaender
* generation errors are returned in the "log" node of the appropriate task node * "summarize.xsl" transforms the nodes of all failed tasks into a easily readable plain-text version ** the output is specialized on the different task types
2014-08-27Modified category sort logic to fit 7db86c6Adrian Kummerlaender
* correct sorting by size requires the "data-type" attribute to be set to "number" * pages are now first sorted as two halves ** descending / ascending respectively * the sorted set is then split into actual halves * the output loop alternates between these halves * changed test for existance to actual test for existance instead of calculating it by ourselfes
2014-08-26Implemented a more balanced category sort logicAdrian Kummerlaender
* random sort order of page-entries on category pages led to unsatisfing results * the entries are now sorted in an alternating fashion depending on their digest length * this produces a much more consistent and balanced output
2014-08-24Implemented basic generation summaryAdrian Kummerlaender
* "summarize.xsl" processes the result-tree of "process.xsl" and outputs a basic plain-text summary ** the plain-text summary is returned as the sole result of calling "make.xsl" * this approach should be easily extensible into i.e. a verbose version in the future * unraveled "make.xsl" structure into separate variables
2014-08-23Expanded output of task processingAdrian Kummerlaender
* partly copy "task" nodes ** augment with result of performing the task * executions of single transformations which expand into multiple target files are now grouped into tasks and subtasks ** a total result value is determined * this change was implemented to aid the implementation of a "generation-digest" view ** such a "view" summarizes the results of task processing and may be configured in e.g. verbosity and error output
2014-08-23Separated task planning and processing into separate transformationsAdrian Kummerlaender
* "plan.xsl" traverses the file-tree provided by "list.xsl" and determines the tasks to be executed * "process.xsl" executes the tasks planned by "plan.xsl" in a sensible order * this change was implemented to be able to e.g. schedule the linkage tasks for last ** performing them in tree-order caused problems when the generator tried to create symlinks inside non-existing directories ** additionally this further modularizes the processing chain
2014-08-23Revamped source tree traversionAdrian Kummerlaender
* this was done to be able to implement directory symlinking * the generation process is now split into three transformations ** the actual work is performed by "list.xsl" and "traverse.xsl" respecitively ** "make.xsl" wraps these two transformations *** i.e. generation is now launched by executing "ixslt --transformation make.xsl" * checked background images into VCS
2014-08-18Implemented basic cleaning and linking facilitiesAdrian Kummerlaender
* e.g. removing the target directory before each regeneration and symlinking CSS files ** this will be extended to include ressource directories and so on * renamed "formatter.xsl" stylesheet to "helper.xsl" as it now includes various helper templates * finally checked the main CSS into the VCS
2014-08-17Updated formatter helper templateAdrian Kummerlaender
* recent changes in InputXSLT revamped "external-text-formatter" into a general "external-command" function * this changes were implemented to enable e.g. symlinking and copying files from the source to the target
2014-08-12Somewhat fleshed out the project pagesAdrian Kummerlaender
* e.g. linked Github and cgit repositories
2014-08-11Added further basic project pagesAdrian Kummerlaender
2014-08-11Added category overview heading and randomized orderAdrian Kummerlaender
* while articles can be ordered by e.g. date there is no useful order for the pages in a given category ** this is why the order of pages on category overview pages is now random (in each generation)
2014-08-11Implemented page categorization functionalityAdrian Kummerlaender
* expanded "02_data/pages.xsl" transformation to include pages in subfolders * "03_meta/categories.xsl" transformation generates a categorized view of all pages simmilar to the one provided for tags by "03_meta/tags.xsl" * "99_result/category/category.xsl" transformation generates category overview pages * added basic project related pages inside the "projects" category
2014-08-10Minor improvements to article, stream and master transformationAdrian Kummerlaender
* wrap text in "xsl:text elements to clean up the output
2014-08-10Added microblog to archive pageAdrian Kummerlaender
* changed archive page markup two enable setting two columns in CSS
2014-08-10Switched content formatter to kramdownAdrian Kummerlaender
* implemented language selection for automatic syntax highlighting ** language selection requires the language to be used to be passed as a class of the code element ** kramdown enables easy definition of this class attribute * kramdown offers more functionality such as table and class attribute support * updated all articles accordingly
2014-08-09Updated external text formatter commandsAdrian Kummerlaender
* directly pass the executable including its arguments ** the "highlight.sh" proxy script is no longer required * this was made possible by a recent commit to InputXSLT
2014-08-09Restricted amount of articles generated into the atom feedAdrian Kummerlaender
* the feed should not return all articles ever posted but only e.g. the last five * disabled indentation to fix source highlighting
2014-08-08Imported another batch of articles from my blogAdrian Kummerlaender
* this should be the last one, as the remaining articles are not really worth preserving ** at least that is my current assessment * updated contact page with actual content instead of filler text
2014-08-08Fixed stream template article CSS classesAdrian Kummerlaender
* last article on a page has to contain the CSS classes "last" and "article" ** previously the position had to be manually increased by one because of some whitespace-only nodes ** due to the removal of indentation to enable code highlighting this manual increase is not only unneeded but prevented the correct classes from being set
2014-08-07Imported even more articles from my blogAdrian Kummerlaender
* performed additional selection of which articles I want to present on this new blog implementation * added tag symlinks accordingly
2014-08-07Fixed stream navigation logicAdrian Kummerlaender
* a "previous" link was generated even if the end of the stream was reached
2014-08-07Cleaned code highlighter markupAdrian Kummerlaender
* replaced "pre" node returned by the hightlighting script with an unstyled one * "pre" style is now declared in css
2014-08-06Improved automatic source code highlightingAdrian Kummerlaender
* disable indentation in both the page and datasource master stylesheets ** indentation was interfering with correct output of formatted code * simplified call to formatter helper template
2014-08-05Added basic article content embellishmentAdrian Kummerlaender
* i.e. inline code is automatically highlighted using an external syntax highligher
2014-08-04Imported further data from my blogAdrian Kummerlaender
2014-08-04Changed base url and url schemeAdrian Kummerlaender
* base url is now a local webserver for more realistic testing ** i.e. otherwise the atom feed is not served correctly * article, page, tag and stream pages are now generated as "index.html" inside appropriately named directories ** this is needed for pretty urls that actually work
2014-08-04Fixed namespace of atom feed XHTML summaryAdrian Kummerlaender
* all xhtml elements contained a empty xmlns attribute ** this was fixed through a custom "xhtml_copy" mode template
2014-07-28Implemented basic atom feed transformationAdrian Kummerlaender
* atom was choosen in favor of RSS mainly because it is not easily possible to generate the required RSS timestamp in xalan-c (day of the week required) * modified master template accordingly
2014-07-27Removed duplicated xsl output declarationsAdrian Kummerlaender
* the output node is defined in both the master and datasource transformation ** i.e. they do not have to be defined in transformations making use of one of these transformations
2014-07-27Improved article stream title-text templateAdrian Kummerlaender
* returns "Start" for the first page instead of "Page 0" ** this corresponds to the navigation * changed "Start" navigation link in master template * i.e. the index page is named "0", server config will have to be changed accordingly ** thought about generating it as "index" directly ** while this is possible using the XPath evaluation functionality of the target meta attribute the lack of a if-statement in XPath 1.0 would require a very ugly workaround (e.g. the answer to http://stackoverflow.com/questions/971067/is-there-an-if-then-else-statement-in-xpath)
2014-07-27Implemented article stream generationAdrian Kummerlaender
* stream transformation is iterated over the paginated article datasource implemented in 854eab6 * stream template contains navigation generation for traversing the article stream
2014-07-27Implemented paginated meta article datasourceAdrian Kummerlaender
* paginates article datasource into chunks of two articles ** this is needed to generate a normal blog article stream ** includes index and total pages for each page entry * to be resolved against the normal article datasource