Commit graph

35 commits

Author SHA1 Message Date
Andrea Crotti
8009324a3b restructure the whole way scripts are created, using setuptools magic
to take care of creating .exe wrappers for windows.

To make this work needed to
- rename modules with a "-" in it (not a valid name)
- add an __init__.py to the tools directory
- create an entry point dictionary which stores the right associations
2012-03-07 10:33:46 +00:00
Stéphane Raimbault
483bed74b8 Removed extra whitespace before /usr/bin/env 2012-02-28 17:40:13 +01:00
Stéphane Raimbault
9cced6be83 Sort imports and remove trailing whitespaces 2012-02-28 17:40:13 +01:00
Kyle Fuller
2be58aa51a Remove WITH_PAGINATION, only have a DEFAULT_PAGINATION setting
DEFAULT_PAGINATION can be set to False instead of using WITH_PAGINATION
2011-12-22 14:02:31 +00:00
Ranjhith Kalisamy
5b7cd45668 The intermediate .html file has to be removed during the import process. 2011-10-30 23:04:24 +05:30
Ranjhith Kalisamy
3192cf6e37 Create output folder if doesn't exist 2011-10-24 00:30:58 +05:30
Ranjhith Kalisamy
2d5dd70e85 In import script, add support to output posts in markdown format 2011-10-24 00:23:03 +05:30
Alexis Metaireau
1bd2af1064 merge with nsteinmetz/pelican 2011-10-06 22:45:19 +02:00
Nicolas Steinmetz
358e92cf04 Clean dot clear import 2011-09-30 22:48:16 +02:00
Alexis Metaireau
d877150df1 Merge pull request #158 from renhbo/master
The .bat scripts for pelican in Windows
2011-09-15 01:14:09 -07:00
Nicolas Steinmetz
a50e986f80 add tag import feature for dotclear import 2011-08-30 23:49:45 +02:00
Nicolas Steinmetz
8f6da4fa7f final fix for dotclear import 2011-08-30 22:27:43 +02:00
Nicolas Steinmetz
de790b9e72 for the --dir-cat option, also slugify category's name to avoid encoding or spaces issues or ... 2011-08-30 17:14:05 +03:00
Nicolas Steinmetz
f337f5067b Fix as in dotclear, format is not "markdown" but "wiki". So add an "or" statement. 2011-08-30 16:37:59 +03:00
Nicolas Steinmetz
67485be240 Fix #164, by "slugifying" titles (which for generated filename is also better imho) + a few remplacement of ".rst" by the "ext" variable. 2011-08-30 15:11:30 +03:00
Alexis Metaireau
100d94cd12 add ghp-import features to push to github pages easily 2011-08-19 23:01:01 +02:00
renhbo
e7168c1d18 A .bat wrapper for pelican in Windows. 2011-08-19 22:14:19 +08:00
Rémy HUBSCHER
32a6ecbcc5 Fix timezone bug for ATOM generation 2011-08-16 15:11:49 +02:00
Rémy HUBSCHER
66ca61dfbb Patch the makefile to automaticaly create the output dir if it doesn't exists, use PWD to work in different computer base_dir from scratch 2011-08-16 11:47:20 +02:00
Alexis Metaireau
1edbe044a2 Include the "pelican-quickstart" script.
This ease the creation of a new blog. I modified slightly the code wrote by @Skami18
here: https://gist.github.com/1025236/dfa695e67482477907c79ae709ab827b20b18b04

This commit also renames the import script to "pelican-import".

Fixes #129.
2011-08-11 23:34:53 +02:00
Simon
7b7695509d importer - add documentation 2011-08-03 22:06:10 +02:00
Simon
69636a9da0 importer: add an option to put files in directories with category names 2011-08-03 19:23:09 +02:00
Simon
3b37b42633 some improvements for importers:
- for dotclear: remove seconds in date, remove \\n
- fix categories for wordpress (categories is a list a string)
- refactor a bit the code between markdown and rst
2011-08-03 19:23:02 +02:00
Simon
d77f657aa7 add dotclear importer - a bit ugly but it works ! some issues remain with end of lines 2011-07-22 07:18:32 +08:00
Skami18
3f0ce7ec4e New version of pelican-themes
- New parameter -c/--clean (remove the broken symlinks)
- Added docstrings
- Some bugs corrected
- Compatibility with the old version is not broken (so the triggers in the debian packages are still working)
2011-05-27 19:13:41 +02:00
Skami18
37474e5ccb Some corrections on tools/pelican-themes 2011-05-14 12:57:57 +02:00
Skami18
ddad637bb3 Added a theme manager. Will be useful to create triggers in Debian packages. 2011-05-08 13:30:09 +02:00
Alexis Metaireau
ad4f7cd3c9 Don't loose the file in the rename. Fixes #55 2011-02-10 01:31:04 +00:00
Alexis Metaireau
a07fe2abee Add a way to import from RSS/Atom feeds. Fixes #55 2011-02-10 01:27:28 +00:00
FELD Boris
a5203ae363 Refactor building of header part. 2011-01-25 00:02:00 +01:00
FELD Boris
246753c6d4 Remove temporary html files after their utilisation. 2011-01-24 23:59:15 +01:00
FELD Boris
f4450b0091 Add extraction of categories and tags, put rst files in category subdir. 2011-01-24 23:57:53 +01:00
FELD Boris
1cc5017fb4 Correct bug in date format importation. 2011-01-24 23:50:29 +01:00
FELD Boris
3566bb6f5f Update wp2pelican script to extract date and author taken from wordpress xml file. 2011-01-23 22:54:31 +01:00
Alexis Metaireau
27ee2cf4e6 Add a import script I've used to convert from a wordpress xml file. 2010-11-07 14:04:11 +00:00