summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-19 22:18:40 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-19 22:18:40 +0100
commit8f65ce0e64aefae6afa273efdb744599f43a9335 (patch)
treee8f08334637d03c4bdbd751bbc11d8e3a35b8d79
parent82386d8630bf5e23cffad3cf3643fcd00835ef50 (diff)
Changement provider favicons
-rw-r--r--app/layout/aside_feed.phtml2
-rw-r--r--app/layout/aside_flux.phtml2
-rw-r--r--app/views/index/about.phtml2
-rw-r--r--app/views/index/index.phtml2
-rw-r--r--public/theme/base.css4
5 files changed, 8 insertions, 4 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index 30fa8c994..aaeb225eb 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -35,7 +35,7 @@
<?php foreach ($this->feeds as $feed) { ?>
<li class="item<?php echo ($this->flux && $this->flux->id () == $feed->id ()) ? ' active' : ''; ?>">
<a href="<?php echo _url ('configure', 'feed', 'id', $feed->id ()); ?>">
- <img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="favicon <?php echo $feed->name (); ?>" />
+ <img class="favicon" src="http://g.etfv.co/<?php echo $feed->website (); ?>" alt="favicon <?php echo $feed->name (); ?>" />
<?php echo $feed->name (); ?>
</a>
</li>
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml
index 07f83232c..903a566af 100644
--- a/app/layout/aside_flux.phtml
+++ b/app/layout/aside_flux.phtml
@@ -58,7 +58,7 @@
</ul>
</div>
- <img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="favicon <?php echo $feed->name (); ?>" />
+ <img class="favicon" src="http://g.etfv.co/<?php echo $feed->website (); ?>" alt="favicon <?php echo $feed->name (); ?>" />
<a class="feed" href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id ()); ?>">
<?php echo $feed->name(); ?>
</a>
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml
index 2f65c9cda..ad3eb6cc6 100644
--- a/app/views/index/about.phtml
+++ b/app/views/index/about.phtml
@@ -20,5 +20,5 @@
<p>FreshRSS est un agrégateur de flux RSS à auto-héberger à l'image de <a href="http://rsslounge.aditu.de/">RSSLounge</a>, <a href="http://tt-rss.org/redmine/projects/tt-rss/wiki">TinyTinyRSS</a> ou <a href="http://projet.idleman.fr/leed/">Leed</a>. Il se veut léger et facile à prendre en main tout en étant un outil puissant et paramétrable. L'objectif étant d'offrir une alternative sérieuse au futur feu-Google Reader.</p>
<h1>Crédits</h1>
- Les <a href="https://git.gnome.org/browse/gnome-icon-theme-symbolic">icônes</a> sont issus du <a href="https://www.gnome.org/">projet GNOME</a>. La police <em>Open Sans</em> utilisée a été créée par <a href="https://www.google.com/webfonts/specimen/Open+Sans">Steve Matteson</a>. FreshRSS repose sur <a href="https://github.com/marienfressinaud/MINZ">Minz</a>, un framework PHP.
+ Les <a href="https://git.gnome.org/browse/gnome-icon-theme-symbolic">icônes</a> sont issus du <a href="https://www.gnome.org/">projet GNOME</a>. La police <em>Open Sans</em> utilisée a été créée par <a href="https://www.google.com/webfonts/specimen/Open+Sans">Steve Matteson</a>. Les favicons sont récupérés grâce au site <a href="https://getfavicon.appspot.com/">getFavicon</a>. FreshRSS repose sur <a href="https://github.com/marienfressinaud/MINZ">Minz</a>, un framework PHP.
</div>
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 7b3e52ebb..2ac39b42b 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -50,7 +50,7 @@ if (isset ($this->entryPaginator)) {
</li>
<?php } ?>
<?php $feed = $item->feed (true); ?>
- <li class="item website"><a target="_blank" href="<?php echo $feed->website (); ?>"><img src="http://www.google.com/s2/favicons?domain=<?php echo get_domain ($feed->website ()); ?>" alt="favicon <?php echo $feed->name (); ?>" /><span> <?php echo $feed->name (); ?></span></a></li>
+ <li class="item website"><a target="_blank" href="<?php echo $feed->website (); ?>"><img class="favicon" src="http://g.etfv.co/<?php echo $feed->website (); ?>" alt="favicon <?php echo $feed->name (); ?>" /> <?php echo $feed->name (); ?></a></li>
<li class="item title"><h1><?php echo $item->title (); ?></h1></li>
<li class="item date">le <?php echo $item->date (); ?></li>
<li class="item link"><a target="_blank" href="<?php echo $item->link (); ?>">&nbsp;</a></li>
diff --git a/public/theme/base.css b/public/theme/base.css
index 0532db6d2..3de642d3c 100644
--- a/public/theme/base.css
+++ b/public/theme/base.css
@@ -527,6 +527,10 @@ input, select, textarea {
padding: 5px 0;
}
+.favicon {
+ width: 16px;
+}
+
.categories {
margin: 0;
padding: 0;