Skip to content

Commit

Permalink
Change filename-hash to use entire source-URL
Browse files Browse the repository at this point in the history
  • Loading branch information
OleVik committed Jun 3, 2018
1 parent 57811c6 commit 681797b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v3.3.2
## 03-06-2018

1. [](#bugfix)
* Change filename-hash to use entire source-URL

# v3.3.1
## 11-03-2018

Expand Down
2 changes: 1 addition & 1 deletion Manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function writeManifest($manifestFile, $feeds)
$manifest = array();
$manifest['config'] = $feeds['config'];
foreach ($this->twigFeeds as $feed) {
$manifest['data'][$feed['source']]['filename'] = hash('md5', parse_url($feed['source'], PHP_URL_HOST)) . '.json';
$manifest['data'][$feed['source']]['filename'] = hash('md5', $feed['source']) . '.json';
if (isset($feed['name'])) {
$manifest['data'][$feed['source']]['name'] = $feed['name'];
}
Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Twig Feeds
version: 3.3.1
version: 3.3.2
description: "Parse RSS and Atom feeds with Twig."
icon: feed
author:
Expand Down

0 comments on commit 681797b

Please sign in to comment.