diff options
| author | 2013-12-06 21:57:40 +0100 | |
|---|---|---|
| committer | 2013-12-06 21:57:40 +0100 | |
| commit | dd79b163fdec7fcf281492b4881b0c84dda39eeb (patch) | |
| tree | cb23a8a610e4d724acb80ee7d20124d1b03916ec | |
| parent | 0e4274fc006203d23b632f4a7a7593427729d649 (diff) | |
Ajout bouton validator.w3.org/feed/
Ajout d'un bouton pour valider les flux, pour des cas comme
https://github.com/marienfressinaud/FreshRSS/issues/317
| -rw-r--r-- | app/i18n/en.php | 1 | ||||
| -rw-r--r-- | app/i18n/fr.php | 1 | ||||
| -rw-r--r-- | app/views/configure/feed.phtml | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/app/i18n/en.php b/app/i18n/en.php index 1c17e8149..4135b5281 100644 --- a/app/i18n/en.php +++ b/app/i18n/en.php @@ -90,6 +90,7 @@ return array ( 'feeds_imported' => 'Your feeds have been imported and will now be updated', 'category_emptied' => 'Category has been emptied', 'feed_deleted' => 'Feed has been deleted', + 'feed_validator' => 'Check the validity of the feed', 'optimization_complete' => 'Optimization complete', diff --git a/app/i18n/fr.php b/app/i18n/fr.php index cd39637cb..fb3226547 100644 --- a/app/i18n/fr.php +++ b/app/i18n/fr.php @@ -90,6 +90,7 @@ return array ( 'feeds_imported' => 'Vos flux ont été importés et vont maintenant être actualisés', 'category_emptied' => 'La catégorie a été vidée', 'feed_deleted' => 'Le flux a été supprimé', + 'feed_validator' => 'Vérifier la valididé du flux', 'optimization_complete' => 'Optimisation terminée', diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index de019863e..d714a597b 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -37,6 +37,7 @@ <div class="group-controls"> <input type="text" name="url" id="url" value="<?php echo $this->flux->url (); ?>" /> <a target="_blank" href="<?php echo $this->flux->url (); ?>"><?php echo RSSThemes::icon('link'); ?></a> + <a class="btn" target="_blank" href="http://validator.w3.org/feed/check.cgi?url=<?php echo $this->flux->url (); ?>"><?php echo Translate::t ('feed_validator'); ?></a> </div> </div> <div class="form-group"> @@ -69,7 +70,6 @@ </label> </div> </div> - <div class="form-group"> <label class="group-name"></label> <div class="group-controls"> |
