[Subversion] / CityKid / citykid / data.py  

Log of /CityKid/citykid/data.py

Parent Directory

No default branch
Bookmark a link to HEAD: (view) (download) (as text)


Revision 2720 - (view) (download) (as text) - [select for diffs]
Modified Mon Jun 2 04:24:35 2014 UTC (9 years, 10 months ago) by pje
File length: 12256 byte(s)
Diff to previous 2718
Add dump command, to export raw CityDesk data w/.json sidecars
and/or front matter

Revision 2718 - (view) (download) (as text) - [select for diffs]
Modified Sun May 18 01:21:10 2014 UTC (9 years, 11 months ago) by pje
File length: 10220 byte(s)
Diff to previous 2442
Fix date/time comparisons for publication dates

Revision 2442 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 22 16:17:23 2007 UTC (16 years, 4 months ago) by pje
File length: 10162 byte(s)
Diff to previous 2238
Add a "#begin-post" target to teaser links

Revision 2238 - (view) (download) (as text) - [select for diffs]
Modified Wed Sep 27 14:43:36 2006 UTC (17 years, 6 months ago) by pje
File length: 10151 byte(s)
Diff to previous 2214
Handle "magic link names" in .html files as well as articles.

Revision 2214 - (view) (download) (as text) - [select for diffs]
Modified Mon Jul 17 00:14:19 2006 UTC (17 years, 9 months ago) by pje
File length: 9892 byte(s)
Diff to previous 2211
Give articles an 'abstext()' method to allow making body links absolute 
(needed for links in Atom/RSS feeds).

Revision 2211 - (view) (download) (as text) - [select for diffs]
Modified Wed Jul 5 06:30:59 2006 UTC (17 years, 9 months ago) by pje
File length: 9659 byte(s)
Diff to previous 2136
Ensure that immediate parent directory of an article is created, even if 
only generating the one article.

Revision 2136 - (view) (download) (as text) - [select for diffs]
Modified Tue May 16 04:35:03 2006 UTC (17 years, 11 months ago) by pje
File length: 9610 byte(s)
Diff to previous 2132
Remove some debugging code; update dependency to kid 0.9.2adev-r330
(which has my patch to allow setting the xmlns for XML() fragments).

Revision 2132 - (view) (download) (as text) - [select for diffs]
Modified Tue May 9 16:16:17 2006 UTC (17 years, 11 months ago) by pje
File length: 9662 byte(s)
Diff to previous 2130
Added 'text' attribute to articles, to get processed version with PTMFOG 
magic names removed.  Added timestamp preservation: files whose contents 
haven't changed will keep the same timestamp, to better support the use 
of tools like "make" and rsync.  Orphan deletion: files that do not 
have a corresponding CityDesk object will be deleted when the 
containing folder is published, thus cleaning up debris in the staging 
area when objects are renamed or deleted.  Simplified save() process for 
greater efficiency.  Added 'byTemplate' mapping to find articles by 
their template type.  Added 'sorted()' implementation for Python 2.3.

Revision 2130 - (view) (download) (as text) - [select for diffs]
Modified Fri Apr 14 02:39:54 2006 UTC (18 years ago) by pje
File length: 8635 byte(s)
Diff to previous 2129
Support absolute links in teasers.  XML and XHTML output.  Refactor to 
allow easier calling of Kid code that's in an article body.  Indexes
for audience, article name, keywords, and path.  CityKid can now 
regenerate the entire dirtSimple.org site in about 26 seconds, including 
startup time, which is slightly faster than CityDesk.  Regenerating 
individual pages of course takes much less time.

Revision 2129 - (view) (download) (as text) - [select for diffs]
Modified Thu Apr 13 15:00:21 2006 UTC (18 years ago) by pje
File length: 8562 byte(s)
Diff to previous 2128
Output files.  Save articles in XHTML Transitional.  Walk the site 
hierarchy and generate files.  Launch the folder or article after 
completing generation.  Allow templates access to the running command
as 'cmd'.  The 'citykid' command is now essentially sufficient to 
substitute for CityDesk's built-in scripting language, although there 
are many convenience features that will probably be needed or desirable, 
such as XML output for articles with an .xml extension (e.g. RSS/Atom 
feeds).

Revision 2128 - (view) (download) (as text) - [select for diffs]
Modified Thu Apr 13 02:00:41 2006 UTC (18 years ago) by pje
File length: 8331 byte(s)
Diff to previous 2127
Write page(s) to files in a staging area adjacent to the .cty file.  
Support teaser [[self-links]].  Add a template-accessible variable for 
the 'all' collection, containing all articles available to publish 
during this run.  Preload all articles and folders for maximum 
processing speed.

Revision 2127 - (view) (download) (as text) - [select for diffs]
Modified Wed Apr 12 14:39:14 2006 UTC (18 years ago) by pje
File length: 7508 byte(s)
Diff to previous 2126
Make it possible for templates to extend each other, using a hideous 
__builtins__ kludge.  Kid should really allow you to pass stuff like 
this in when creating a template class.  :(

Revision 2126 - (view) (download) (as text) - [select for diffs]
Modified Wed Apr 12 06:03:49 2006 UTC (18 years ago) by pje
File length: 7129 byte(s)
Diff to previous 2124
Implement kid templating.  Declare setup() dependencies correctly.  
Compute relative links.  More efficient state preloads.  Processing 
for CityDesk's PTMFOG##### "magic name" links.

About all that's left to implement is writing out articles to files in 
a staging area, and some usable querying methods for common operations.
(And maybe options to launch a web browser on the file(s), or rsync them 
to a server.  And maybe docs, in case anybody besides me ever wants to 
use this...)

Revision 2124 - (view) (download) (as text) - [select for diffs]
Added Sun Apr 9 19:46:34 2006 UTC (18 years ago) by pje
File length: 5666 byte(s)
Another attempt to fix the screwed-up import

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help