Alexis Metaireau
0993458a57
Merge pull request #290 from justinmayer/feeddomain
...
Feed link inside feed should use FEED_DOMAIN
2012-03-31 17:59:05 -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
Kyle Fuller
c71ad2babc
Merge pull request #283 from draftcode/default_category
...
DEFAULT_CATEGORY is ignored.
2012-03-27 16:00:31 -07:00
draftcode
cffb44891a
Add an test related to articles' category.
2012-03-24 13:52:03 +09: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
Alexis Metaireau
0d9298313f
Merge pull request #276 from AndreaCrotti/float_precision
...
on my machine leaving the places to 2 or 1 makes this test fail, I
2012-03-23 07:37:09 -07:00
Alexis Metaireau
bd767a5273
Merge pull request #280 from justinmayer/siteurl
...
Remove trailing slash from SITEURL if present. Fixes #275 .
2012-03-23 07:31:46 -07: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
Andrea Crotti
dbc4d4786b
on my machine leaving the places to 2 or 1 makes this test fail, I
...
suppose because it's too fast, while changing it to 0 makes it pass.
2012-03-22 16:30:26 +00:00
Alexis Metaireau
38b5b94617
Merge pull request #262 from justinmayer/feeddomain
...
Allow for serving feeds from a separate domain.
2012-03-22 08:58:09 -07: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
Alexis Metaireau
352a67d162
Merge pull request #267 from AndreaCrotti/default_argparse
...
refactor of the parse_arguments function, using "-p" to pass the path
2012-03-22 04:46:46 -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
Alexis Metaireau
9009ed7e43
Merge pull request #268 from AndreaCrotti/unittest2
...
Clean up testing modules
2012-03-21 17:56:48 -07:00
Alexis Metaireau
a201232843
Merge pull request #273 from AndreaCrotti/logging
...
change the way logging is done, using the standard log tree instead of
2012-03-21 17:56:04 -07: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
Andrea Crotti
ff5921a469
- move the try/except dance in support.py
...
- use relative . imports in test files
- remove the "future with import", since python < 2.6 is not supported
2012-03-18 21:08:43 +00:00
Alexis Metaireau
7fcfea647f
Merge branch 'master' of github.com:ametaireau/pelican
2012-03-18 15:23:09 +01:00
Alexis Metaireau
9c4b40fd35
Keep raw metadata text (but for summary)
2012-03-18 15:12:06 +01:00
Alexis Metaireau
cf7359a915
Merge pull request #265 from mbrochh/mini_typo
...
Always using normal capitalization in headlines.
2012-03-18 04:21:33 -07:00
Martin Brochhaus
a9f5fdc47b
Always using normal capitalization in headlines.
2012-03-18 14:57:53 +08: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
cbc609c8f0
only notify build is okay if it was failing previously
2012-03-16 21:23:34 +01:00
Alexis Metaireau
4819a83003
Fix #171 . Handle unicode filenames
2012-03-16 21:13:24 +01:00
Alexis Metaireau
8b846b9fe2
restore back to hardcoded version in setup.py due to import hell
2012-03-16 21:12:48 +01:00
Alexis Metaireau
3dcedb60d8
add irc support to travis-ci
2012-03-16 20:58:08 +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
Alexis Metaireau
d57cd81ca6
Merge pull request #260 from AndreaCrotti/log_refactor
...
remove unused colors and refactor more how the escaping is done
2012-03-16 11:54:10 -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
df8b71f811
remove unused *bat include
2012-03-16 14:27:51 +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
5890ae7bcd
Merge pull request #253 from danawoodman/patch-1
...
`MD_EXTENSIONS` should be a list not a tuple.
2012-03-15 14:12:23 -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
Dana Woodman
99852ebda8
MD_EXTENSIONS should be a list not a tuple.
2012-03-15 11:59:58 -07:00
Alexis Metaireau
db91c70ce9
Merge pull request #246 from stephane/cleanup-wp
...
Cleanup wp
2012-03-15 07:43:41 -07:00
Alexis Metaireau
8cd0939bfe
Merge pull request #248 from saimn/cleanup
...
Cleanup
2012-03-15 07:41:10 -07:00
Alexis Metaireau
d5c251042f
Merge pull request #251 from AndreaCrotti/templates
...
Templates
2012-03-15 07:39:30 -07:00
Alexis Metaireau
61d5ba1776
Merge pull request #252 from AndreaCrotti/settings
...
Settings
2012-03-15 07:37:57 -07:00
Andrea Crotti
020c1400e2
add the pelican path to the sys.path, to be able to use autodoc
2012-03-15 00:23:07 +00:00