Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.0

Request #7264 Grab channel logos from channel server
Submitted: 2006-03-30 16:22 UTC
From: scottmattocks Assigned:
Status: Open Package: PEAR_Frontend_Gtk2 (version 0.1.0)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 6 = ?

 
 [2006-03-30 16:22 UTC] scottmattocks (Scott Mattocks)
Description: ------------ This probably needs to be worked out with Greg, but I think it would be nice to try and grab imgChannelLogo from the channel server (and store it localy maybe) if there is no logo in the pixmaps directory for the currently loaded channel. This way all channels have the chance to show a logo and the package doesn't need to ship with a ton of logo files. Something could be added to the channel server XML that gives the URL to the logo file. Sort of like a favicon for a web site. Test script: --------------- <channel version="1.0" xsi:schemaLocation="http://pear.php.net/dtd/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd"> <name>pear.example.com</name> <summary>example.com</summary> <suggestedalias>example</suggestedalias> <pearfrontendlogo>http://pear.example.com/logo.png</pearfrontendlogo> <servers> ... </servers> </channel>

Comments

 [2006-08-19 16:55 UTC] cellog (Greg Beaver)
this can be implemented already using REST in the existing channel.xml format. <baseurl type="channellogo1.0">http://pear.example.com/logo</baseurl> then the Gtk2/web frontend just checks for the support of channellogo1.0 REST and grabs the logo.