Changeset 1141
- Timestamp:
- 07/24/06 04:47:14
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/refactoring-planet/plagger/lib/Plagger/Plugin/Publish/Feed.pm
r1131 r1141 32 32 mkdir $dir, 0755 or $context->error("mkdir $dir: $!"); 33 33 } 34 35 unless (exists $self->conf->{fulltext}) { 36 $self->conf->{fulltext} = 1; 37 } 34 38 } 35 39 … … 54 58 $entry->link($e->link); 55 59 $entry->summary($e->body_text) if defined $e->body; 56 $entry->content($e->body) if defined $e->body; 60 $entry->content($e->body) 61 if $self->conf->{fulltext} && defined $e->body; 57 62 $entry->category(join(' ', @{$e->tags})); 58 63 $entry->issued($e->date) if $e->date; … … 153 158 =head1 CONFIG 154 159 155 =head2 format 160 =over 4 161 162 =item format 156 163 157 164 Specify the format of feed. C<Plagger::Plugin::Publish::Feed> supports 158 165 the following syndication feed formats: 159 166 160 =over 4161 162 =item *Atom (default)163 164 =item *RSS167 =over 8 168 169 =item Atom (default) 170 171 =item RSS 165 172 166 173 =back 167 174 168 = head2dir175 =item dir 169 176 170 177 Directory to save feed files in. 171 178 172 = head2filename179 =item filename 173 180 174 181 Filename to be used to create feed files. It defaults to C<%i.rss> for … … 176 183 like printf(): 177 184 178 =over 4179 180 =item *%u url181 182 =item *%l link183 184 =item *%t title185 186 =item *%i id185 =over 8 186 187 =item %u url 188 189 =item %l link 190 191 =item %t title 192 193 =item %i id 187 194 188 195 =back 189 196 197 =item fulltext 198 199 Whether to publish fulltext content feed. Defaults to 1. 200 201 =back 202 190 203 =head1 AUTHOR 191 204
