| 53 |
} |
} |
| 54 |
|
|
| 55 |
if ($entry_content =~ /^(\d+)-(\d+)-(\d+)\s+(.+)<([^<>]+)>/m) { |
if ($entry_content =~ /^(\d+)-(\d+)-(\d+)\s+(.+)<([^<>]+)>/m) { |
| 56 |
$entry_date //= timegm (0, 0, 0, $3, $2-1, $1); |
# $entry_date //= timegm (0, 0, 0, $3, $2-1, $1); |
| 57 |
$entry_author_name //= $4; |
$entry_author_name //= $4; |
| 58 |
$entry_author_mail //= $5; |
$entry_author_mail //= $5; |
| 59 |
$entry_author_name =~ s/\s+$//; |
$entry_author_name =~ s/\s+$//; |
| 93 |
$feed = $doc->create_element_ns ('http://www.w3.org/2005/Atom', 'feed'); |
$feed = $doc->create_element_ns ('http://www.w3.org/2005/Atom', 'feed'); |
| 94 |
$doc->append_child ($feed); |
$doc->append_child ($feed); |
| 95 |
} |
} |
| 96 |
|
$feed->set_attribute_ns ('http://www.w3.org/2000/xmlns/', |
| 97 |
|
'xmlns', $feed->namespace_uri); |
| 98 |
|
|
| 99 |
unless (@{$feed->author_elements}) { |
unless (@{$feed->author_elements}) { |
| 100 |
if (defined $feed_author_name) { |
if (defined $feed_author_name) { |