diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-08-14 22:30:31 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-08-14 22:30:31 +0200 |
| commit | 7dcce8c12fa693471efbae7f2fef8d7b102aacfb (patch) | |
| tree | 3ee1a110e53a57afecb16dc5360877320a666b74 /setup.c | |
| parent | 5a020e6640b2723a57176e6596ea665442d53672 (diff) | |
| download | cataract-7dcce8c12fa693471efbae7f2fef8d7b102aacfb.tar.xz | |
Treat meta tags in a cleaner way
Diffstat (limited to 'setup.c')
| -rw-r--r-- | setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -110,6 +110,8 @@ parse_setup_xml (const char *filename, TGallerySetup *setup) setup->footer = xml_file_get_node_value (xml, "/gallery_setup/footer/text()"); setup->border_style = xml_file_get_node_attribute (xml, "/gallery_setup/images/border", "style"); setup->meta_author = xml_file_get_node_value (xml, "/gallery_setup/meta/author/text()"); + setup->meta_description = xml_file_get_node_value (xml, "/gallery_setup/meta/description/text()"); + setup->meta_keywords = xml_file_get_node_value (xml, "/gallery_setup/meta/keywords/text()"); xml_parser_close (xml); @@ -133,6 +135,8 @@ parse_setup_xml (const char *filename, TGallerySetup *setup) printf("setup: footer = '%s'\n", setup->footer); printf("setup: border_style = '%s'\n", setup->border_style); printf("setup: meta_author = '%s'\n", setup->meta_author); + printf("setup: meta_description = '%s'\n", setup->meta_description); + printf("setup: meta_keywords = '%s'\n", setup->meta_keywords); #endif return TRUE; |
