Matt Bowcock
d4e632dfa8
Unit test failed due to missing trailing comma in tuple. Fixed.
2012-04-10 00:32:01 -04:00
Matt Bowcock
75febf4bfd
Add support for multiple file extensions per file reader.
...
Conflicts:
pelican/readers.py
2012-04-10 00:15:12 -04:00
Rémy HUBSCHER
b509fe70cd
Add rsync_upload
2012-04-06 09:55:15 +02:00
Alexis Metaireau
e5f58c9594
Merge branch 'master' of github.com:ametaireau/pelican
2012-04-03 11:59:30 +02:00
Alexis Metaireau
b845db30de
Add a way to know what metadata exists.
...
This allows in a theme to have a look at the "metadata" attribute of a content
to know what are the metadata fields defined by it.
2012-04-03 11:58:31 +02:00
Tshepang Lekhonkhobe
2db2b671f2
fix #293 : pelican-importer for Wordpress doesn't add tags
2012-04-02 01:06:27 +02:00
Alexis Metaireau
373ccdebf2
Add style for the note marker. Fix #257
2012-04-01 13:42:28 +02:00
Alexis Metaireau
ebe5c0b2bf
Enhance warnings. Fix #196
2012-04-01 13:37:35 +02:00
Alexis Metaireau
2d55eacc57
Fix the autogenerated makefile.
...
Fix #278
2012-04-01 13:21:44 +02:00
Alexis Metaireau
af2b588ea6
Merge pull request #289 from bbinet/fix_index_template
...
Fix index.html template
2012-03-31 18:08:30 -07:00
Alexis Metaireau
3cabdb2dbf
Merge pull request #285 from yumike/summary_markup
...
Fix markup for single-paragraph summary in reST metadata
2012-03-31 18:03:26 -07:00
Alexis Metaireau
d20ea30add
Merge pull request #284 from m-r-r/log
...
pelican/log.py simplified a bit
2012-03-31 18:01:51 -07:00
Alexis Metaireau
520d9b73c0
Merge pull request #281 from m-r-r/master
...
Patch for issue #271 (« Unicode issue in category name »)
2012-03-31 17:59:56 -07:00
Justin Mayer
56b8a88b1f
Improve uniqueness of feed entry ID
...
The ID of a feed entry should never change, but the previous method of
generating the ID -- i.e., using the entry URL -- results in an ID that
is not permanent and can change. Switching to the tag URI method from
RFC 4151 should help improve the long-term uniqueness and permanence of
entry IDs, as espoused here:
<http://web.archive.org/web/20110514113830/http://diveintomark.org/archives/2004/05/28/howto-atom-id >
Also added a trailing slash to the site URL inside the feed; the lack
thereof was causing a feed validation warning.
2012-03-31 10:08:16 -07:00
Justin Mayer
34310a61f5
Feed link inside feed should use FEED_DOMAIN
...
The initial work on enabling feeds to be served from a different domain
than the site domain focused on the feed link displayed inside the
base template. But there is also a feed link inside the generated feed
itself, which this commit updates to use the FEED_DOMAIN value (if
defined).
Also, it turns out that the FEED_MAIN_URL setting is not necessary; the
existing FEED and FEED_RSS functionality is simpler and can address the
targeted use case just as easily. That attribute has been removed from
the settings and template, along with corresponding changes to the docs.
Refs #177 .
2012-03-31 08:10:40 -07:00
Bruno Binet
64e12b1809
fix missing </ol> and </section> tags
2012-03-30 14:20:55 +02:00
Mike Yumatov
4df6179954
Fix markup for single-paragraph summary in reST metadata
2012-03-25 21:39:41 +04:00
m-r-r
5aa12b2319
pelican/log.py simplified a bit
2012-03-25 18:47:14 +02:00
draftcode
4efca13c33
Fix a bug that ArticlesGenerator doesn't see DEFAULT_CATEGORY.
...
When you set ARTICLE_DIR which is not equal to PATH, ArticlesGenerator
doesn't use DEFAULT_CATEGORY but use ARTICLE_DIR's dirname.
2012-03-24 11:53:07 +09:00
m-r-r
fc584969c9
patch for bug #271 (Unicode issue in category name)
2012-03-23 19:31:44 +01:00
Justin Mayer
65b93dbfd4
Remove trailing slash from SITEURL if present
2012-03-23 07:16:23 -07:00
Kyle Fuller
0ed6cf7743
Follow the PATH variable in settings
2012-03-23 09:05:47 +00:00
Justin Mayer
6e467172e5
Merge branch 'master' into feeddomain
...
Conflicts:
pelican/settings.py
tests/test_settings.py
2012-03-22 08:29:27 -07:00
Justin Mayer
1623394da8
Add tests for pull request #262
2012-03-22 07:58:04 -07:00
Andrea Crotti
bc7c8c14f4
- split main and parse arguments in two function
...
- add '.' as default value for the path
2012-03-22 07:02:06 +00:00
Andrea Crotti
0922efa371
change the way logging is done, using the standard log tree instead of
...
calling the module-level functions on an unitialised logging object.
This allows to
- simplify log.py
- use one logger object for each file
2012-03-20 13:01:21 +00:00
Alexis Metaireau
9c4b40fd35
Keep raw metadata text (but for summary)
2012-03-18 15:12:06 +01:00
Justin Mayer
8819d02600
Allow for serving feeds from a separate domain.
...
This (indirectly) enables support for FeedBurner. Added docs for
FeedBurner configuration. Clarify how defining the SITEURL attribute
affects URL structure. Closes #177 .
2012-03-16 20:27:26 -07:00
Alexis Metaireau
4819a83003
Fix #171 . Handle unicode filenames
2012-03-16 21:13:24 +01:00
Alexis Metaireau
e38e3e14e6
Merge branch 'master' of github.com:ametaireau/pelican
2012-03-16 19:59:19 +01:00
Alexis Metaireau
c75ab513da
use 'summary' rather than ':summary:' in comments
2012-03-16 19:59:03 +01:00
Alexis Metaireau
8b8b9f59a1
Merge pull request #261 from AndreaCrotti/package
...
move tools in pelican.tools and add the pelican.tools package to setup.p...
2012-03-16 11:56:45 -07:00
Alexis Metaireau
ad36beed1f
Merge pull request #259 from AndreaCrotti/version
...
Version
2012-03-16 11:54:51 -07:00
Andrea Crotti
4e4af9d011
move tools in pelican.tools and add the pelican.tools package to setup.py
2012-03-16 18:53:08 +00:00
Andrea Crotti
173133dbf3
remove couple of extra spaces
2012-03-16 14:53:28 +00:00
Andrea Crotti
26078ecc17
remove unused colors and refactor more how the escaping is done
2012-03-16 14:50:26 +00:00
Andrea Crotti
74c2449d8f
add version information in __init__.py and import them from setup.py
...
and conf.py
2012-03-16 14:27:26 +00:00
Alexis Metaireau
4714276e2c
Merge pull request #247 from saimn/summary
...
Summary - Fix for #245
2012-03-15 14:15:01 -07:00
Alexis Metaireau
a3e6988d87
Merge pull request #254 from AndreaCrotti/reset_term
...
fix the reset term code to make it work also on OSX
2012-03-15 14:06:39 -07:00
Alexis Metaireau
b8377f50c9
Merge pull request #250 from AndreaCrotti/argparse
...
- remove default=None with argparse is redundant since it's the
2012-03-15 14:06:12 -07:00
Andrea Crotti
2ff3db8f51
fix the reset term code to make it work also on OSX
2012-03-15 19:37:49 +00:00
Andrea Crotti
4bac1ee745
- remove default=None with argparse is redundant since it's the
...
default value already.
- use the argparse.ArgumentDefaultsHelpFormatter as the
formatter_class, to print out automatically the default values
2012-03-14 19:54:28 +00:00
Simon
39bdbcfd86
files_changed: cleanup and add a test
2012-03-14 12:36:55 +01:00
Simon
4f95b9f05c
remove useless .keys() for key in dict expressions
2012-03-14 09:38:36 +01:00
Simon
ff2426c4ad
Fix for #245 : return the summary of an article based on the :summary: metadata if it is set, else troncate the content.
2012-03-13 21:52:50 +01:00
Alexis Metaireau
71a5ba3283
Merge pull request #241 from draftcode/metadata_lowercase
...
Make names of metadata lower.
2012-03-12 04:15:34 -07:00
Alexis Metaireau
0951831c64
Merge pull request #243 from alefteris/patch-1
...
Match closing tag
2012-03-12 04:14:32 -07:00
Thanos Lefteris
acad3e864d
Double-quote HTML attribute
2012-03-11 21:08:18 +02:00
Thanos Lefteris
89a481f8e7
Match closing tag
2012-03-11 21:00:38 +02:00
draftcode
08b40c7967
Make names of metadata lower.
2012-03-12 01:33:30 +09:00