|
|
Re: Topic syndication doesn't work |
Thu, 10 January 2008 01:18 |
|
Just some feedback: this doesn't look right - the title is repeated in the description (same info twice for each thread).
Please change the description to either the message body or $r->tdescr.
|
|
|
|
Re: Topic syndication doesn't work |
Tue, 08 January 2008 14:23 |
|
I don't really care either way. I've changed $body to $r->tdescr because $body is not instantiated in the mode=t code. So, $body has always been empty. You are welcome to add it in though.
|
|
Re: Topic syndication doesn't work |
Tue, 08 January 2008 14:01 |
|
I am not sure topic description is a better option then a topic title, because the former may not always be present.
|
|
Re: Topic syndication doesn't work |
Tue, 08 January 2008 00:28 |
|
Thanks Ilia! Can you please also apply this patch:
--- rdf.php.t.orig 2008-01-07 23:06:47.000000000 -0600
+++ rdf.php.t 2008-01-07 23:25:48.000000000 -0600
@@ -407,12 +407,12 @@
}
if ($basic) {
- echo '<rdf:li rdf:resource="'.$WWW_ROOT.'index.php?t=rview&th='.$r->thread_id.'" />';
+ echo '<rdf:li rdf:resource="'.$WWW_ROOT.'index.php?t=rview&th='.$r->id.'" />';
$data .= '
-<item rdf:about="'.$WWW_ROOT.'index.php?t=rview&th='.$r->thread_id.'">
+<item rdf:about="'.$WWW_ROOT.'index.php?t=rview&th='.$r->id.'">
<title>'.htmlspecialchars($r->subject).'</title>
- <link>'.$WWW_ROOT.'index.php?t=rview&th='.$r->thread_id.'</link>
- <description>'.sp($body).'</description>
+ <link>'.$WWW_ROOT.'index.php?t=rview&th='.$r->id.'</link>
+ <description>'.sp($r->tdescr).'</description>
<dc:subject>'.sp($r->frm_name).'</dc:subject>
<dc:creator>'.sp($r->alias).'</dc:creator>
<dc:date>'.gmdate('Y-m-d\TH:i:s', $r->post_stamp).'-00:00</dc:date>
|
|
|
|
Re: Topic syndication doesn't work |
Sun, 06 January 2008 12:18 |
|
if you do "view source" the data is definitely there and there are entries corresponding to the topics in the forum.
|
|
|