totem-pl-parser r76 - in branches/gnome-2-22: . plparse
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem-pl-parser r76 - in branches/gnome-2-22: . plparse
- Date: Thu, 13 Mar 2008 14:31:15 +0000 (GMT)
Author: hadess
Date: Thu Mar 13 14:31:15 2008
New Revision: 76
URL: http://svn.gnome.org/viewvc/totem-pl-parser?rev=76&view=rev
Log:
2008-03-13 Bastien Nocera <hadess hadess net>
* plparse/totem-pl-parser.c (totem_pl_parser_parse_internal),
(totem_pl_parser_can_parse_from_data): Add support for
feed:// URLs, as used by Firefox 3
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/plparse/totem-pl-parser.c
Modified: branches/gnome-2-22/plparse/totem-pl-parser.c
==============================================================================
--- branches/gnome-2-22/plparse/totem-pl-parser.c (original)
+++ branches/gnome-2-22/plparse/totem-pl-parser.c Thu Mar 13 14:31:15 2008
@@ -1508,9 +1508,10 @@
return TOTEM_PL_PARSER_RESULT_UNHANDLED;
}
- /* Fix up itpc, see http://www.apple.com/itunes/store/podcaststechspecs.html */
- if (g_str_has_prefix (url, "itpc") != FALSE) {
- DEBUG(g_print ("URL '%s' is getting special cased for ITPC parsing\n", url));
+ /* Fix up itpc, see http://www.apple.com/itunes/store/podcaststechspecs.html
+ * as well as feed:// as used by Firefox */
+ if (g_str_has_prefix (url, "itpc") != FALSE || g_str_has_prefix (url, "feed") != FALSE) {
+ DEBUG(g_print ("URL '%s' is getting special cased for ITPC/FEED parsing\n", url));
return totem_pl_parser_add_itpc (parser, url, base, NULL);
}
/* Try itms Podcast references, see itunes.py in PenguinTV */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]