evolution-rss r311 - in trunk: . src



Author: lucilanga
Date: Mon Jun 30 10:24:11 2008
New Revision: 311
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=311&view=rev

Log:
2008-06-30  Lucian Langa  <lucilanga gnome org>

* older webkit fallback

Modified:
   trunk/ChangeLog
   trunk/TODO
   trunk/configure.ac
   trunk/src/rss-config-factory.c
   trunk/src/rss.c
   trunk/src/rss.h

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Mon Jun 30 10:24:11 2008
@@ -31,4 +31,4 @@
 	* hook feed properties in folder properties
 	* clist hint should be the folder name not the feed name
 	* strip html tags from title
-	* implement foaf and other possible blogroll types
+	* implement foaf and other possible blogrolls type file

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Mon Jun 30 10:24:11 2008
@@ -237,7 +237,7 @@
 if test "$enable_webkit" = "yes"; then
 PKG_CHECK_MODULES([WEBKIT], webkit-1.0, [have_webkit=yes], [have_webkit=no])
 if test "x$have_webkit" == "xno"; then
-	PKG_CHECK_MODULES([WEBKIT], WebKitGtk, [have_webkit=yes], [have_webkit=no])
+	PKG_CHECK_MODULES([older WEBKIT], WebKitGtk, [have_webkit=yes], [have_webkit=no])
 	AC_DEFINE_UNQUOTED(WEBKIT_UNSTD, 1, [unstandard webkit installation])
 fi
 AC_SUBST([WEBKIT_CFLAGS])

Modified: trunk/src/rss-config-factory.c
==============================================================================
--- trunk/src/rss-config-factory.c	(original)
+++ trunk/src/rss-config-factory.c	Mon Jun 30 10:24:11 2008
@@ -1028,6 +1028,13 @@
                 0);
         gtk_widget_show_all(import_dialog);
         g_free(msg);
+        xmlNode *wlk = src;
+	while (wlk->next)
+	{
+		g_print("juj:%s\n", layer_find_innerelement(wlk, "Group", "name", NULL));
+	printf ("%p, %s\n", wlk, wlk->name);	
+		wlk = wlk->next;
+	}
         while (src = html_find(src, "outline"))
         {
                 feed->feed_url = xmlGetProp((xmlNode *)src, "xmlUrl");

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Mon Jun 30 10:24:11 2008
@@ -189,10 +189,6 @@
 //u_int32_t 
 gchar *
 update_channel(const char *chn_name, char *url, char *main_date, GArray *item, GtkWidget *progress);
-static char *layer_find (xmlNodePtr node, char *match, char *fail);
-static char *layer_find_innerelement (xmlNodePtr node, char *match, char *el, char *fail);
-static gchar *layer_find_innerhtml (xmlNodePtr node, char *match, char *submatch, char *fail);
-xmlNodePtr layer_find_pos (xmlNodePtr node, char *match, char *submatch);
 gchar *decode_utf8_entities(gchar *str);
 gchar *strplchr(gchar *source);
 static char *gen_md5(gchar *buffer);

Modified: trunk/src/rss.h
==============================================================================
--- trunk/src/rss.h	(original)
+++ trunk/src/rss.h	Mon Jun 30 10:24:11 2008
@@ -284,6 +284,11 @@
 void populate_reversed(gpointer key, gpointer value, GHashTable *hash);
 gchar *rss_component_peek_base_directory(MailComponent *component);
 static void custom_feed_timeout(void);
+static char *layer_find (xmlNodePtr node, char *match, char *fail);
+static char *layer_find_innerelement (xmlNodePtr node, char *match, char *el, char *fail);
+static gchar *layer_find_innerhtml (xmlNodePtr node, char *match, char *submatch, char *fail);
+xmlNodePtr layer_find_pos (xmlNodePtr node, char *match, char *submatch);
+static char *layer_find_tag (xmlNodePtr node, char *match, char *fail);
 
 
 typedef struct FEED_FOLDERS {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]