[Subversion] / CityKid / citykid / commands.py  

Log of /CityKid/citykid/commands.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: 8578 byte(s)
Diff to previous 2719
Add dump command, to export raw CityDesk data w/.json sidecars
and/or front matter

Revision 2719 - (view) (download) (as text) - [select for diffs]
Modified Sun May 18 01:29:50 2014 UTC (9 years, 11 months ago) by pje
File length: 7707 byte(s)
Diff to previous 2445
Py 2.7 compat; add postmortem debug for CityBlog
(which essentially is dead meat now anyway since
Google dropped the old blogger API for good.)

Revision 2445 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 22 19:45:33 2007 UTC (16 years, 4 months ago) by pje
File length: 7506 byte(s)
Diff to previous 2444
Uploads via rsync, assuming you have Cygwin in c:\cygwin
and the target specified in the ``rsync_target`` CityDesk
variable.

Revision 2444 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 22 18:42:58 2007 UTC (16 years, 4 months ago) by pje
File length: 6670 byte(s)
Diff to previous 2274
Read the blogger blog ID, user id, and password from CityDesk
variables instead of the command line, so at least you don't
have to put them in the registry (and so you can upload to a
different blog from different files with the same Tools menu
entry).

Revision 2274 - (view) (download) (as text) - [select for diffs]
Modified Thu Jan 18 03:34:20 2007 UTC (17 years, 3 months ago) by pje
File length: 6544 byte(s)
Diff to previous 2239
Don't try to convert unicode to a string before encoding it to UTF8.
(D'oh!)

Revision 2239 - (view) (download) (as text) - [select for diffs]
Modified Wed Sep 27 14:44:21 2006 UTC (17 years, 7 months ago) by pje
File length: 6549 byte(s)
Diff to previous 2132
Don't crash on empty folders.

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: 6542 byte(s)
Diff to previous 2131
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 2131 - (view) (download) (as text) - [select for diffs]
Modified Sun Apr 23 19:52:38 2006 UTC (18 years ago) by pje
File length: 6160 byte(s)
Diff to previous 2130
Simplified template loading, by using a version of Kid that incorporates 
my namespace initialization patch.  Only launch generated .html files 
or directories, not other file types like .gif, .css, etc.

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: 6339 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: 4815 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: 4429 byte(s)
Diff to previous 2126
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 2126 - (view) (download) (as text) - [select for diffs]
Modified Wed Apr 12 06:03:49 2006 UTC (18 years ago) by pje
File length: 3956 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: 3930 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