📄 rss.h
字号:
/*RSS 0.91, 0.92 and 2.0Retrieve RSS feeds.--------------------------------------------------------------------------------gSOAP XML Web services toolsCopyright (C) 2001-2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.This software is released under one of the following two licenses:GPL or Genivia's license for commercial use.--------------------------------------------------------------------------------GPL license.This program is free software; you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the Free SoftwareFoundation; either version 2 of the License, or (at your option) any laterversion.This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along withthis program; if not, write to the Free Software Foundation, Inc., 59 TemplePlace, Suite 330, Boston, MA 02111-1307 USAAuthor contact information:engelen@genivia.com / engelen@acm.org--------------------------------------------------------------------------------A commercial use license is available from Genivia, Inc., contact@genivia.com--------------------------------------------------------------------------------*///gsoap dc schema namespace: http://purl.org/dc/elements/1.1/typedef char *XML; // mixed contentstruct channel{ char *title; // channel title char *link; // channel link char *language; char *copyright; XML description; // description may contain XHTML that we want to preserve struct image *image; // optional image int __size; // an array of items of size __size struct item *item; // an array of items time_t *dc__date; // RSS 2.0 dc schema element};struct item{ char *title; char *link; XML description; // description may contain XHTML that we want to preserve char *pubDate; time_t *dc__date; // RSS 2.0 dc schema element};struct image{ char *title; char *url; char *link; int width 0:1 = 0; // optional, default value = 0 int height 0:1 = 0; // optional, default value = 0 XML description; // description may contain XHTML that we want to preserve};struct rss{ @char *version = "2.0"; struct channel channel;};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -