4 * Copyright 2003 Oliver Feiler <kiza@kcore.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 /* Set your charset here. ISO-8859-1 is default. */
30 #ifndef TARGET_CHARSET
31 #define TARGET_CHARSET "ISO-8859-1"
35 char *feedurl; /* Non hashified URL */
36 char *feed; /* Raw XML */
41 char *lastmodified; /* Content of header as sent by the server. */
44 netio_error_type netio_error; /* See netio.h */
45 int connectresult; /* Socket errno */
46 char *cookies; /* Login cookies for this feed. */
47 char *authinfo; /* HTTP authinfo string. */
48 char *servauth; /* Server supplied authorization header. */
49 struct newsitem *items;
50 int problem; /* Set if there was a problem
51 * downloading the feed. */
52 char *original; /* Original feed title. */
56 struct newsdata *data;
57 struct newsitem *next_ptr, *prev_ptr; /* Pointer to next/prev item in double linked list */
62 int readstatus; /* 0: unread, 1: read */
65 char *guid; /* Not always present */
67 time_t date; /* not always present */
70 extern struct feed *first_ptr;
78 # define _(String) gettext (String)
80 # define _(String) (String)s
81 # define ngettext(Singular, Plural, n) (Plural)