projects
/
matthijs
/
upstream
/
blosxom-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4efcc7e
)
Update blosxom url in atomfeed; minor doc tweaks.
author
Gavin Carr
<gonzai@users.sourceforge.net>
Mon, 8 Oct 2007 11:46:37 +0000
(11:46 +0000)
committer
Gavin Carr
<gonzai@users.sourceforge.net>
Mon, 8 Oct 2007 11:46:37 +0000
(11:46 +0000)
general/atomfeed
patch
|
blob
|
history
diff --git
a/general/atomfeed
b/general/atomfeed
index 11c957dd7367c3f15f4377ce273330557ef5dac7..71b536188dd07d5ca7a0bc2bc7c6117df3828c4d 100644
(file)
--- a/
general/atomfeed
+++ b/
general/atomfeed
@@
-59,6
+59,9
@@
$logo_url = "";
# If you are using the built-in templates, leave this alone.
my $template_placeholder = "{{{updated}}}";
# If you are using the built-in templates, leave this alone.
my $template_placeholder = "{{{updated}}}";
+# Generator that produced this feed
+$generator_url = "http://blosxom.sourceforge.net/";
+
# Enclosures support
# ------------------
# Enclosures support
# ------------------
@@
-370,7
+373,7
@@
sub _load_templates {
<link rel="self" type="application/atom+xml" href="$atomfeed::feed_url"/>
<link rel="alternate" type="text/html" hreflang="$blosxom::blog_language" href="$blosxom::url" />
<id>tag$atomfeed::colon$atomfeed::id_domain,$atomfeed::feed_yr$atomfeed::colon/$blosxom::path_info</id>
<link rel="self" type="application/atom+xml" href="$atomfeed::feed_url"/>
<link rel="alternate" type="text/html" hreflang="$blosxom::blog_language" href="$blosxom::url" />
<id>tag$atomfeed::colon$atomfeed::id_domain,$atomfeed::feed_yr$atomfeed::colon/$blosxom::path_info</id>
- <generator uri="
http://www.blosxom.com/
" version="$blosxom::version">Blosxom</generator>
+ <generator uri="
$atomfeed::generator_url
" version="$blosxom::version">Blosxom</generator>
$atomfeed::copyright
$atomfeed::icon_url
$atomfeed::logo_url
$atomfeed::copyright
$atomfeed::icon_url
$atomfeed::logo_url
@@
-416,15
+419,14
@@
Blosxom Plug-in: atomfeed
Provides an Atom 1.0 feed of your weblog.
The plugin has all you need right on-board, including the appropriate
Provides an Atom 1.0 feed of your weblog.
The plugin has all you need right on-board, including the appropriate
-flavour template components and a couple-three configuration
-directives.
+flavour template components and a few configuration directives.
-It supports the major
ty of the Atom 1.0 spec ex
luding the <source>
+It supports the major
ity of the Atom 1.0 spec exc
luding the <source>
element, which seems intended for use in feeds that contain items
aggregated from other feeds, and currently the <contributor> element,
which could be included using the meta plugin.
element, which seems intended for use in feeds that contain items
aggregated from other feeds, and currently the <contributor> element,
which could be included using the meta plugin.
-Point you
browser/Atom
feed reader at http://yoururl/index.atom.
+Point you
r browser/
feed reader at http://yoururl/index.atom.
=head1 VERSION
=head1 VERSION
@@
-463,7
+465,7
@@
author of each entry. This can be overidden with the value provided
by the B<whoami> or B<fauxami> plugins.
B<$feed_yr> is where you specify the year your site began. This is
by the B<whoami> or B<fauxami> plugins.
B<$feed_yr> is where you specify the year your site began. This is
-important
as atomfeed needs to create a unique, unchanging ID for
+important as atomfeed needs to create a unique, unchanging ID for
your weblog and it need this information to do so.
Everything else is optional.
your weblog and it need this information to do so.
Everything else is optional.
@@
-694,7
+696,7
@@
Where "interpolate_fancy" is the name of the interpolation plugin
you're turning off _just for the atom feed_.
If you are planning on using the B<config> or B<prefs> plugins to alter
you're turning off _just for the atom feed_.
If you are planning on using the B<config> or B<prefs> plugins to alter
-vari
ba
les in the atomfeed namespace, you will need to ensure that
+vari
ab
les in the atomfeed namespace, you will need to ensure that
these plugins run B<before> the atomfeed plugin. You can do this by
prefixing a number to the name of the relevant plugin, such as B<1config>
or B<1prefs>.
these plugins run B<before> the atomfeed plugin. You can do this by
prefixing a number to the name of the relevant plugin, such as B<1config>
or B<1prefs>.