summaryrefslogtreecommitdiff
path: root/src/atom-writer.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2012-12-30 20:33:58 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2012-12-30 20:33:58 +0100
commit571790ba31a48c108e42c4ae10f8e63ae734c376 (patch)
tree89496b45ad6777abd4eced4b860e6b3ae9df0d60 /src/atom-writer.c
parent6dd7e0f9073e366cb7420e8b61eacbc6c05faae5 (diff)
downloadcataract-571790ba31a48c108e42c4ae10f8e63ae734c376.tar.xz
setup: Introduce location section and reorganize
More and more we need to know local and public locations for various features. Let's introduce general keys once and for all.
Diffstat (limited to 'src/atom-writer.c')
-rw-r--r--src/atom-writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atom-writer.c b/src/atom-writer.c
index 8fa1ec8..51609bb 100644
--- a/src/atom-writer.c
+++ b/src/atom-writer.c
@@ -187,7 +187,7 @@ atom_writer_write_to_file (TAtomFeed *feed, const gchar *filename, TGallerySetup
else {
fprintf (f, " <entry>\n");
fprintf (f, " <title>%s</title>\n", item->title);
- s = g_build_path ("/", setup->feed_base_url, item->path, "/", NULL);
+ s = g_build_path ("/", setup->location_base_url, item->path, "/", NULL);
fprintf (f, " <link rel=\"alternate\" type=\"text/html\" href=\"%s\"/>\n", s);
g_free (s);