evolution-rss r298 - in trunk: . src
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-rss r298 - in trunk: . src
- Date: Thu, 19 Jun 2008 08:07:53 +0000 (UTC)
Author: lucilanga
Date: Thu Jun 19 08:07:53 2008
New Revision: 298
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=298&view=rev
Log:
2008-06-18 Lucian Langa <lucilanga gnome org>
* fix rename folders
* implement feed ttl
Modified:
trunk/ChangeLog
trunk/src/rss.c
trunk/src/rss.h
Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c (original)
+++ trunk/src/rss.c Thu Jun 19 08:07:53 2008
@@ -2580,8 +2580,6 @@
g_hash_table_insert(rf->feed_folders,
g_strdup(g_strstrip(tmp1)),
g_strdup(g_strstrip(tmp2)));
- g_print("tmp1:%s\n", tmp1);
- g_print("tmp2:%s\n", tmp2);
}
fclose(f);
}
@@ -3717,6 +3715,7 @@
DEFAULT_NO_CHANNEL,
strlen(DEFAULT_NO_CHANNEL)))
{
+
t = layer_find(channel->children,
"title",
DEFAULT_NO_CHANNEL);
@@ -3726,6 +3725,7 @@
t = tmp;
t = generate_safe_chn_name(t);
}
+ r->ttl = layer_find(channel->children, "ttl", NULL);
//items might not have a date
// so try to grab channel/feed date
Modified: trunk/src/rss.h
==============================================================================
--- trunk/src/rss.h (original)
+++ trunk/src/rss.h Thu Jun 19 08:07:53 2008
@@ -40,6 +40,7 @@
gchar *feedid; //md5 string id of feed
GtkWidget *progress;
guint total; //total articles
+ guint ttl; //feed specified refresh interval
/* Soup stuff */
SoupMessage *message;
} RDF;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]