ты предложил следующие поля:Сообщение от nyuk
postid - идентификатор сообщения.
parentid - идентификатор сообщения, на которое отвечаем (или 0, если первое сообщение топика).
dateline - дата. Формат можно обговорить, для меня удобнее всего UNIX timestamp.
username - имя постера.
subject - сформированная строка сабж, типа " ZX-Spectrum » Железо » порт lp".
title - заголовок сообщения, может не указываться.
pagetext - сообщение.
link - прямой урл на сообщение
читаем RSS 2.0 Specification (http://blogs.law.harvard.edu/tech/rss)
title - The title of the item
link - The URL of the item
description - The item synopsis
author - Email address of the author of the item
category - Includes the item in one or more categories
comments - URL of a page for comments relating to the item
enclosure - Describes a media object that is attached to the item
guid - A string that uniquely identifies the item
pubDate - Indicates when the item was published
source - The RSS channel that the item came from
т.е. имеем практически тот же самый набор полей, получается что нет никаких проблем сделать один скрипт.
при этом в стандарте rss 2.0 описана возможность расширения этого набора полей:
RSS originated in 1999, and has strived to be a simple, easy to understand format, with relatively modest goals. After it became a popular format, developers wanted to extend it using modules defined in namespaces, as specified by the W3C.
RSS 2.0 adds that capability, following a simple rule. A RSS feed may contain elements not described on this page, only if those elements are defined in a namespace.
а в чем разница в реализации? в твоем случае смотрим $_REQUEST['data'], в другом $_SERVER['HTTP_IF_MODIFIED_SINCE']Сообщение от nyuk
до кучи ссылка на php'шную реализацию "conditional GET": http://simon.incutio.com/archive/200...conditionalGet




Ответить с цитированием