Skip to content

RSS FileShare Extension

Version: 1.0 (draft)
Author: Brian Hendrickson
Date: October 7, 2026

Changelog - 1.0 — Initial release. One RSS 2.0 feed per (owner, recipient) connection lists every file and folder the owner has shared with that recipient, newest first, with a <fileshare:share> element carrying the date shared and a <fileshare:item> element describing the shared root. Folder contents are browsed one level at a time through scoped documents of the same shape. File bytes travel as standard <enclosure> URLs. Removal is explicit: <fileshare:deleted> tombstones and a <fileshare:revoked> channel marker. Real-time delivery reuses the standard <cloud> element and rssCloud.

Overview

The RSS FileShare Extension is a specification that extends RSS 2.0 so that one person can share files and folders stored on their own server with people whose accounts live on other servers, and so that each recipient's server can present a "Shared with me" list: the most recently shared things first, grouped by when they were shared, with the files served from the owner's server.

It is the file-sharing sibling of the RSS GroupChat Extension: the same transport family (RSS 2.0, one namespaced extension, rssCloud push, signed media URLs) and the same topology (every person runs or rents their own instance; instances subscribe to each other's feeds). A reader that implements GroupChat already has every parser and fetcher this extension needs.

Three design choices shape everything below:

  1. One feed per connection. A connection is the durable link between an owner and one recipient. The owner's server publishes one feed per connection, and that feed is the recipient's "Shared with me" list for that owner: one <item> per shared root (a folder or a single file), with <pubDate> equal to the moment it was shared. A plain RSS reader shows the list in the right order with no extension support at all.
  2. The feed carries roots, not trees. A shared folder's contents are not mirrored. A reader browses them live, one folder at a time, by fetching a scoped document of the same shape from the same URL. The owner's server is the only copy of the files, so the folder listing is always current and there is nothing to reconcile.
  3. Nothing in the feed is a secret that unlocks anything else. The feed URL's token identifies one connection and is accepted on one route. File bytes are fetched through short-lived signed URLs minted by the owner's server. Per-recipient revocation is a row deletion on the owner's server; the feed tells the recipient what disappeared.

The extension does not use end-to-end encryption. Names, sizes and bytes are visible to the owner's server (which stores them) and to the recipient's server (which relays them). Deployments that need sealed contents should put them behind the GroupChat extension's encrypted envelope instead.

Namespace Declaration

The FileShare Extension uses the following namespace:

xmlns:fileshare="https://rss.ag/rss-fileshare-extension/ns/1.0/"

This namespace must be declared in the <rss> element of any feed implementing this extension:

<rss version="2.0" xmlns:fileshare="https://rss.ag/rss-fileshare-extension/ns/1.0/">

The prefix fileshare is conventional; XML allows any prefix bound to the namespace URI. See Implementation notes for the namespace string the reference implementation emits and why readers should match element local names.

Documents

Every document this extension defines is an RSS 2.0 document with one <channel>. The same feed URL serves three scopes, selected by query parameters:

Scope URL Lists Subscribable
Share list (default) <feed-url> Every live share root for this connection, newest sharedAt first, followed by tombstones (in any order) after the last share item Yes. This is the document rssCloud pings refer to and the one a reader ingests.
Folder page <feed-url>&parent=<itemId>[&offset=<n>] The direct children of one folder reachable through a live share, folders first then by name No. Fetched on demand while browsing; never mirrored.
Single item <feed-url>&item=<itemId> Exactly one item reachable through a live share No. Used to re-validate access immediately before serving bytes.

A scoped document carries a <fileshare:scope> element and no <cloud> element. A reader that fetches a scoped document applies none of the snapshot rules of the share list to it (see Snapshot semantics).

The feed URL itself is implementation-defined; it must be an absolute http or https URL whose query carries the connection credential. The reference implementation's URL shape is https://<owner host>/v/feed?c=<32 hex characters>.

Elements and Attributes

Channel-level elements

<fileshare:version> Element

Required, exactly one. The extension version the document conforms to, as major.minor (1.0). Minor versions are backward compatible and never change the namespace URI. A reader that does not implement the major version MUST ignore the document without changing anything it has stored.

<fileshare:version>1.0</fileshare:version>

<fileshare:owner> Element (Who Is Sharing)

Required, exactly one. Identifies the person whose server publishes the feed.

Attributes:
  • id (required): The owner's stable identifier on their own server (an integer user id). Together with host it is the owner's cross-server key: the same per-host integer user id the GroupChat extension carries in <groupchat:authorId>, scoped by the origin the feed was fetched from.
  • name (required): The owner's display name.
  • host (required): The origin of the owner's server (scheme, host and, when it is not the scheme default, port; no path, no trailing slash). It MUST equal the origin of the feed URL; a reader MUST reject a document whose host differs from the URL it fetched.
  • handle (optional): A human-readable handle on the owner's server. Display only; handles are not unique across servers.
<fileshare:owner id="1" name="Brian" host="https://brian.socialweb.cloud" handle="brian"/>

<fileshare:recipient> Element (Who This Feed Is For)

Optional, at most one. Tells the reader which account the feed is addressed to. Feeds are per recipient, so this is informational: readers never route on it.

Attributes:
  • id (required): The recipient's identifier on the owner's server.
  • name (optional): The display name the owner's server holds for them.
  • home (optional): The origin of the recipient's own server as the recipient reported it when the connection was made.
<fileshare:recipient id="9" name="Dana" home="https://dana.example"/>

<fileshare:scope> Element (This Is a Page, Not the Share List)

Present on folder pages and single-item documents, absent from the share list. Its presence changes how a reader treats the document: items are the contents of one folder (or one item), the share-list snapshot rules do not apply, and a 404 on a scoped fetch is never evidence that the connection is gone.

Attributes:
  • parent (folder page): The folder whose direct children are listed.
  • item (single item): The item listed. Exactly one of parent and item is present; a request naming both is answered 404.
  • share (required): The identifier of the share whose grant makes this scope readable (the nearest share whose root is the folder or one of its ancestors).
  • offset (folder page, optional): The zero-based position of the first child in this page.
  • next (folder page, optional): The absolute URL of the next page. Absent on the last page.
<fileshare:scope parent="120" share="41" offset="0"/>

<fileshare:truncated> Element

Required, exactly one. true or false.

  • On the share list: true when the owner's server clipped the list (the reference implementation caps a share list at 1000 live shares). When true, the absence of a share from the document does NOT mean it was removed; only a <fileshare:deleted> tombstone does.
  • On a folder page: true exactly when <fileshare:scope next> is present; the server reads one child past the page cap to decide.
  • On a single-item document: always false.

<fileshare:revoked> Element (The Connection Is Gone)

Optional. When present (value true), the owner has revoked the whole connection. The document carries no <item> elements. The owner's server SHOULD keep serving this marker for a grace period (seven days in the reference implementation) and then answer 404 to the feed URL. A reader that sees it marks the connection revoked at once; see Removal semantics.

<fileshare:revoked>true</fileshare:revoked>

<cloud> Element (Push)

Standard RSS 2.0, share list only. Readers register with it exactly as they do for a GroupChat feed (see Real-time Notifications).

<cloud domain="brian.socialweb.cloud" port="443" path="/rsscloud/pleaseNotify" registerProcedure="" protocol="http-post"/>

Item-level elements

Every <item> carries the standard <title>, <guid isPermaLink="false"> and <pubDate>; share items and page items also carry <author> (the owner's display name), and a tombstone carries no <author>. Three kinds of item exist; a reader tells them apart by which extension elements are present.

Item kind Appears in Carries <guid> form <pubDate>
Share item Share list <fileshare:share>, <fileshare:item parent="">, enclosure for a file fileshare:<owner id>:share:<share id> The moment the share was made ("Date shared")
Page item Folder page, single item <fileshare:item>, enclosure for a file; never <fileshare:share> fileshare:<owner id>:item:<item id> The item's last modification
Tombstone Share list <fileshare:deleted> only fileshare:<owner id>:deleted:<share id> When the share was removed

<title> is the item's name (a folder name or a file name) or (removed) on a tombstone. <author> is the owner's display name. Titles are untrusted remote text; readers SHOULD length-limit them.

<fileshare:share> Element (A Share Root)

Exactly one on a share item; absent elsewhere. Describes the grant that put this root in the recipient's list.

Attributes:
  • id (required): The share's identifier on the owner's server. This is the key a reader stores per row, the value tombstones refer to, and the per-recipient revocation handle on the owner's side.
  • role (required): viewer or editor. In 1.0 every role is read-only on the wire; the value is carried for display and for the write-back a later revision may define.
  • sharedAt (required): When the share was made, RFC 3339. Equal to the item's <pubDate>; carried as an attribute so readers that bucket by date ("Today", "Last month", "Earlier this year") need not parse RFC 1123.
<fileshare:share id="41" role="viewer" sharedAt="2026-10-07T18:02:11Z"/>

<fileshare:item> Element (A File or Folder)

Exactly one on every share item and page item. Describes the thing itself.

Attributes:
  • id (required): The item's identifier on the owner's server. Stable for the item's lifetime; the value a reader passes back as parent= or item=.
  • kind (required): folder or file.
  • parent (required): The identifier of the containing folder. Empty (parent="") on a share item, because a share root's real parent is not reachable through the share. On a folder-page item it equals the scope's parent. In a single-item document it is the containing folder's identifier when that folder is reachable through the covering share, and empty when the item is itself a share root.
  • share (required): On a share item, the <fileshare:share id>. On a page item, the scope's share (the share whose grant made the document readable), even when the item is also the root of another share to this recipient.
  • category (required): "" for a folder; for a file one of photos, videos, documents as the owner's server classifies it from the MIME type.
  • size (required): Byte size of a file; 0 for a folder.
  • count (optional): For a folder, the number of direct children.
  • created (optional) and updated (required): RFC 3339 timestamps from the owner's server.
<fileshare:item id="120" kind="folder" parent="" share="41" category="" size="0" count="12"
                created="2026-10-01T09:00:00Z" updated="2026-10-06T22:00:00Z"/>

<enclosure> Element (File Bytes)

A standard RSS 2.0 enclosure, present on every file item and absent from folders. No new namespace is involved.

Attributes:
  • url (required): A fetchable URL for the bytes on the owner's server. Because shares are private, this URL MUST be access-controlled: the reference implementation uses a time-limited HMAC-signed URL that needs no session, exactly like a GroupChat media enclosure. The URL MUST have the same origin as the feed URL; readers MUST ignore an enclosure on any other origin (see Security Considerations).
  • type (required): The MIME type, or application/octet-stream when unknown.
  • length (required): Byte size.

For photos and videos the enclosure URL doubles as the preview and streaming URL: a client MAY load it directly in an image view or a video player with no headers. The owner's server SHOULD honour HTTP range requests on it, since video playback depends on them.

Signed URLs expire. The owner's server mints a fresh URL on every render, so a reader that re-fetches the scope it is browsing always holds a live one. A reader SHOULD treat a URL whose expiry has passed as "re-fetch, then retry", never as a removal.

<enclosure url="https://brian.socialweb.cloud/api/media/8c0dbeb6-f2ad-4057-bbff-c430f930bfc5?exp=1791482400&amp;sig=Yt3vQk"
           type="image/jpeg" length="1816742"/>

<fileshare:filename> Element (Original File Name)

Optional, at most one, file items only: the file's original name as text content, XML-escaped. It is the counterpart of the GroupChat extension's <groupchat:filename> and follows the same rules: a reader uses it as the save-as name after stripping directory separators and control characters, and never as a path.

<fileshare:filename>Q3 R&amp;D report.pdf</fileshare:filename>

<fileshare:deleted> Element (Tombstone)

Exactly one on a tombstone item; absent elsewhere. Share list only.

Attributes:
  • share (required): The identifier of the share that no longer exists for this recipient, whether the owner revoked it, deleted the item, deleted an ancestor folder, or revoked every share at once.

A tombstone is carried for a retention window after the removal (seven days in the reference implementation) so that a reader which missed the push still learns of it. A reader removes the matching row and MUST NOT recreate it from an older document it fetched earlier.

<item>
  <title>(removed)</title>
  <guid isPermaLink="false">fileshare:1:deleted:38</guid>
  <pubDate>Mon, 06 Oct 2026 08:00:00 +0000</pubDate>
  <fileshare:deleted share="38"/>
</item>

Snapshot semantics

The share list follows the same snapshot contract the GroupChat extension uses for icons, rosters and reactions, applied per share:

  • When <fileshare:truncated> is false, the set of share items in the document is the recipient's complete current set. A share absent from the latest fetch has been removed, and a reader MAY prune it on that basis alone. When true, absence carries no meaning and only tombstones do.
  • A tombstone always wins over presence in an older document. Readers MUST key rows on <fileshare:share id> and MUST NOT resurrect a row for a share id they have seen a tombstone for, even if a later fetch of a stale cache lists it again.
  • Share items are re-reconciled on every fetch (name, kind, size, count, role, enclosure URL): a share root renamed by the owner changes its <title> in place, under the same guid.
  • Folder pages and single-item documents are not snapshots of anything the reader stores. They are answers to a question asked now. A reader that caches one does so for its own display and discards it freely.

Browsing a shared folder

A reader lists a folder by fetching <feed-url>&parent=<item id>. The owner's server answers only if the folder is the root of a live share to this connection, or a descendant of one; otherwise it answers 404 with no further information. Pages are ordered folders first, then by name, and carry at most an implementation-defined number of children (2000 in the reference implementation) before <fileshare:scope next> points at the continuation.

Every page item carries parent equal to the requested folder and share equal to the covering share, so a reader can build breadcrumbs and knows which share to attribute a revocation to.

A reader that wants to serve a file to its own user SHOULD first fetch <feed-url>&item=<item id> and use the enclosure URL from that fresh document, rather than any enclosure URL it stored earlier. This makes revocation take effect on the next download, not on the next fetch of the share list (see Security Considerations).

Establishing a connection

A feed URL is the only thing a reader strictly needs, and how it obtains one is implementation-defined. This section describes the handshake the reference implementation uses, because it is what lets a share to a stranger become a subscription without either person pasting a URL, and because it is the part that mirrors the GroupChat invite flow.

  1. Share to an address. The owner shares a folder or file with an email address or phone number. If the owner's server already holds a connection to that person, the share is simply added to the existing feed and pushed (step 5). Otherwise the server mints a connection code: a single-use, short-lived (72 h) random secret, delivered only to that address by SMS or email as a link to a bounce page on the owner's server, e.g. https://brian.socialweb.cloud/vault-connect?co=<code>. The code is never shown to the owner.
  2. Tap. The bounce page hands off to the recipient's app, which asks the recipient's own server to accept the share. The app never sends a credential to the owner's server.
  3. Server-to-server redeem. The recipient's server posts the code to the owner's server:
POST https://brian.socialweb.cloud/api/connections/redeem
{"code": "<code>", "kind": "vault", "home_url": "https://dana.example", "display_name": "Dana"}

The owner's server checks that the code is unconsumed and unexpired, consumes it atomically, resolves (or creates) a local account for the delivered address, creates or refreshes the connection, links every pending share addressed to that address to it, and answers:

{"kind": "vault",
 "feed_url": "https://brian.socialweb.cloud/v/feed?c=3f9a0c2e7b1d4e8f9a0b1c2d3e4f5a6b",
 "owner": {"id": 1, "display_name": "Brian", "username": "brian", "host": "https://brian.socialweb.cloud"},
 "share": {"id": 41, "name": "Trip photos", "kind": "folder"}}

No bearer token is issued. The recipient's server MUST require feed_url to have the same origin as the server it posted to. 4. Subscribe. The recipient's server stores the feed URL, fetches the share list, registers with the <cloud> hub, and shows the share in "Shared with me". It never shows the feed URL to a device. 5. Later shares by the same owner to the same person need no code: the owner's server adds the share and pings the hub; the recipient's server re-fetches and the share appears.

A code consumed by a server that then fails to store the feed URL is lost; the owner can re-send a fresh code. A later share to an already-connected address issues no code, so a recipient who moves to a different home server needs an unredeemed code: one that was still open, or one the owner issues after revoking the connection and sharing again. Redeeming it from the new home server rotates the feed token, so the earlier home server's copy answers 404 and dies by the two-strike rule (see Removal semantics) and the new one takes over.

Real-time Notifications

Using the cloud element

The share list carries a standard <cloud> element pointing at the owner's rssCloud hub. A reader registers with pleaseNotify (protocol=http-post) exactly as for a GroupChat feed, passing the share-list URL as url1. When a share is added, removed, renamed, or the connection is revoked, the owner's server pings every registered callback (POST <callback>?url=<feed url>), and the reader re-fetches the share list.

Changes inside a shared folder (an upload, a rename of a child, a child deletion) do not ping: folder contents are read live, so there is nothing to refresh.

Hubs implementing this extension SHOULD apply these restrictions to a registration whose url1 is a FileShare feed:

  • The feed URL's host must be the hub's own host, and the token must name a live connection; otherwise the registration is refused.
  • The callback path must be the one the reader implementation documents for FileShare pings (/api/vault/notify in the reference implementation) and the callback host must resolve to a public address, so that a token holder cannot aim the hub at an internal service.
  • One callback per connection: a later registration for the same feed replaces the earlier one, so a reader whose public address changed does not leave a dead callback behind.

Freshness without push

A reader behind NAT, on a private address, or on a loopback address cannot receive pings. Such a reader SHOULD skip hub registration and instead re-fetch the share list when it is older than a short threshold (60 s in the reference implementation) each time its user opens the "Shared with me" view, and SHOULD re-register once a day if it does have a public address, since hubs prune callbacks that fail repeatedly.

A reader MAY send If-None-Match with the ETag of its last share-list fetch. The reference implementation computes the ETag over the share set (ids, roles, names, timestamps, tombstones), not over the rendered bytes, because enclosure URLs are re-signed on every render.

Removal semantics

Three things can end a recipient's access, and each has its own signal:

Event Signal in the feed Reader action
One share revoked, or its item (or an ancestor folder) deleted A <fileshare:deleted share="…"/> tombstone for the retention window; the share item is gone Remove the row; refuse to resurrect it.
The whole connection revoked <fileshare:revoked>true</fileshare:revoked> with no items for the grace period, then 404 Mark the connection revoked at once; keep the rows for display as "no longer shared" until the user dismisses them; answer 410 to later pings.
The owner's server is gone, or its address changed A bare 404 or 410 on the share list Count a strike. Two consecutive strikes at least 60 s apart mark the connection revoked. A 404 on a folder page or single-item document never counts: it means "no longer shared" for that one item and SHOULD trigger one re-fetch of the share list. If the share itself ended, its tombstone is there; if only a child was deleted or moved, the share list is unchanged and the reader simply re-fetches the folder page.

Revoking access does not invalidate enclosure URLs already minted; they expire on their own (the reference implementation signs them for 24 h; signatures are bucketed, so a URL can outlive a revocation by up to 30 h). Deleting an item removes its bytes immediately. See Security Considerations.

A recipient who no longer wants a connection stops fetching and answers 410 to pings; the owner's hub prunes the callback after repeated failures. The owner's connection stays live until the owner revokes it, so a share made in the meantime simply never arrives; the recipient's server MAY re-subscribe from the stored feed URL.

Write-back

Version 1.0 is read-only. A later revision is expected to let an editor upload into a shared folder through XML-RPC metaWeblog.newMediaObject and metaWeblog.newPost posted to the feed URL, authenticated by the token in the URL and checked against an editor grant covering the target folder, in the same shape the GroupChat extension uses for replies. Until then a reader MUST NOT POST to a FileShare feed URL.

Implementation notes

  • Parse by local name. The reference implementation (Social Web v3, in progress; see IMPLEMENTATION.md) will match extension elements by their local name (version, owner, share, item, scope, deleted, …) rather than by resolved namespace URI, and will emit the namespace declaration xmlns:fileshare="https://socialweb.cloud/rss/fileshare", as its GroupChat emitter already does for groupchat. Interoperating parsers SHOULD match local names so feeds using either namespace URI string parse identically. This is the same stance the GroupChat extension takes. Note that <fileshare:item> shares its local name with RSS's <item>: a local-name parser distinguishes them by nesting (the extension element is always a direct child of an <item>, never of <channel>).
  • One route, three scopes. The reference implementation will serve all three documents from GET /v/feed?c=<token>; parent=, item= and offset= select the scope. The token rides in the query so that access logs, which record only the path, never capture it.
  • Identifiers are per owner server. <fileshare:owner id>, <fileshare:share id> and <fileshare:item id> are integers that are unique only on the owner's server. A reader that aggregates several owners MUST key everything on (owner host, id). The <guid> forms above include the owner id for the same reason and are still not globally unique across hosts.
  • Dates. <pubDate> is RFC 1123 with a numeric zone (+0000); sharedAt, created and updated are RFC 3339 in UTC. A reader that cannot parse a date SHOULD treat it as unknown, never as "now".
  • Caps. Share list: 1000 live shares (then truncated). Folder page: 2000 children per page. Document fetch: 8 MiB, 15 s. These are the reference implementation's numbers; other implementations SHOULD document theirs.

Validation

A valid RSS feed implementing the FileShare Extension must:

  1. Declare the FileShare namespace in the <rss> element.
  2. Carry exactly one <fileshare:version>, one <fileshare:owner> with id, name and host, and one <fileshare:truncated> in the <channel>.
  3. Have <fileshare:owner host> equal to the origin of the URL the document was fetched from.
  4. Carry <fileshare:scope> on every folder page and single-item document, and never on the share list; carry <cloud> only on the share list.
  5. Give every non-tombstone <item> exactly one <fileshare:item> with id, kind, parent, share, category, size and updated; give every share item exactly one <fileshare:share> with id, role and sharedAt; give every tombstone exactly one <fileshare:deleted> with share and no <fileshare:item>.
  6. Include a standard <enclosure> with url, type and length on every item of kind file, whose url has the same origin as the feed, and none on a folder.
  7. Set every share item's <fileshare:item parent> to the empty string, every folder-page item's parent to the scope's parent, and a single-item document's parent to the containing folder (or the empty string when the item is itself a share root).
  8. Use <guid isPermaLink="false"> values in the forms given above, unique within the document.
  9. Carry <fileshare:revoked> only together with an empty item list.
  10. Carry <fileshare:filename> only on items of kind file, at most once per item, with the original name as XML-escaped text content.

Security Considerations

  • The feed URL's token is a bearer credential for one connection's share list and its scoped pages. Implementations MUST NOT accept it on any other route (in particular never as a credential for a public share link, a JSON API or a byte download) and SHOULD keep it in the query string so that path-only access logs never record it. A reader's server holds the URL; it MUST NOT hand it to end-user devices, embed it in pages, or log it. Push callbacks carry it in ?url=, so hubs and readers MUST NOT log the full ping target either. The channel <link> of a FileShare document is the feed URL itself, token included (as it is for a GroupChat feed); a reader's server that forwards a document, or any part of it, to a device MUST strip or replace it.
  • A connection code is single-use, short-lived, delivered only to the address it is addressed to, and never displayed to the owner. Hosts SHOULD cap how many codes one account can issue per day, because a share can be addressed to any typed address.
  • Enclosure URLs are access-controlled by signature and expiry, not by session. Anyone holding one can fetch the bytes until it expires, so implementations SHOULD sign FileShare enclosures for no longer than a day (the reference implementation uses 24 h; shorter is better) and SHOULD re-validate access through the single-item scope immediately before serving a download, so that revocation stops downloads at once even though previews already loaded live until expiry.
  • Readers MUST ignore an enclosure URL, a <cloud> target, or a <fileshare:scope next> URL whose origin differs from the feed URL's origin, and MUST NOT follow redirects to private or loopback addresses when fetching any URL a feed supplied. The reader's outbound HTTP client SHOULD reject private, link-local and loopback destinations at DNS resolution time and again at dial time, because a hostile owner's server can otherwise use the reader as a proxy into its network.
  • A folder page or single-item document for anything outside a live share answers 404 with no distinguishing detail, so that a token holder cannot enumerate the owner's items. Likewise an unknown token answers 404, never 403.
  • Names, file names and titles are untrusted remote text: length-limit them, strip control characters, render them as inert text, and strip directory separators before using a file name on a filesystem.
  • Loading an enclosure (a preview, a video stream) is a direct request from the recipient's device to the owner's server, so the owner's server learns the device's IP address and user agent, exactly as it does for GroupChat media. Implementations that consider this sensitive can route previews through the recipient's server at the cost of relaying bytes.
  • The bounce page on the owner's server is anonymous and reachable by anyone holding a link. It SHOULD name no one, so that link-preview crawlers at the messaging provider learn nothing, and it SHOULD validate nothing (the redeem endpoint does), so that it cannot be used to test codes.
  • Role editor grants nothing in 1.0. An implementation MUST NOT infer write access from it until a revision defines write-back.

Compatibility

This extension is designed to be fully compatible with RSS 2.0 and can be implemented alongside other RSS extensions, including the GroupChat Extension on the same server. Feed readers that do not support this extension will simply ignore the additional elements and display each share as a regular feed entry with its name, date and (for files) an enclosure.

Example Feed

The share list for one connection:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:fileshare="https://rss.ag/rss-fileshare-extension/ns/1.0/">
  <channel>
    <title>Social Web files - Brian</title>
    <link>https://brian.socialweb.cloud/v/feed?c=3f9a0c2e7b1d4e8f9a0b1c2d3e4f5a6b</link>
    <description>Files and folders Brian shared with you</description>
    <cloud domain="brian.socialweb.cloud" port="443" path="/rsscloud/pleaseNotify" registerProcedure="" protocol="http-post"/>
    <fileshare:version>1.0</fileshare:version>
    <fileshare:owner id="1" name="Brian" host="https://brian.socialweb.cloud" handle="brian"/>
    <fileshare:recipient id="9" name="Dana" home="https://dana.example"/>
    <fileshare:truncated>false</fileshare:truncated>

    <item>
      <title>Trip photos</title>
      <guid isPermaLink="false">fileshare:1:share:41</guid>
      <pubDate>Tue, 07 Oct 2026 18:02:11 +0000</pubDate>
      <author>Brian</author>
      <fileshare:share id="41" role="viewer" sharedAt="2026-10-07T18:02:11Z"/>
      <fileshare:item id="120" kind="folder" parent="" share="41" category="" size="0" count="12"
                      created="2026-10-01T09:00:00Z" updated="2026-10-06T22:00:00Z"/>
    </item>

    <item>
      <title>Q3 R&amp;D report.pdf</title>
      <guid isPermaLink="false">fileshare:1:share:42</guid>
      <pubDate>Fri, 12 Sep 2026 09:40:00 +0000</pubDate>
      <author>Brian</author>
      <enclosure url="https://brian.socialweb.cloud/api/media/0d2b4e6f-1a3c-4e5d-8f7a-9b8c7d6e5f4a?exp=1791482400&amp;sig=TGVhc2U"
                 type="application/pdf" length="184022"/>
      <fileshare:filename>Q3 R&amp;D report.pdf</fileshare:filename>
      <fileshare:share id="42" role="viewer" sharedAt="2026-09-12T09:40:00Z"/>
      <fileshare:item id="131" kind="file" parent="" share="42" category="documents" size="184022"
                      created="2026-09-12T09:39:40Z" updated="2026-09-12T09:39:40Z"/>
    </item>

    <item>
      <title>beach.jpg</title>
      <guid isPermaLink="false">fileshare:1:share:35</guid>
      <pubDate>Sun, 31 Aug 2026 20:15:00 +0000</pubDate>
      <author>Brian</author>
      <enclosure url="https://brian.socialweb.cloud/api/media/8c0dbeb6-f2ad-4057-bbff-c430f930bfc5?exp=1791482400&amp;sig=Yt3vQk"
                 type="image/jpeg" length="1816742"/>
      <fileshare:filename>beach.jpg</fileshare:filename>
      <fileshare:share id="35" role="viewer" sharedAt="2026-08-31T20:15:00Z"/>
      <fileshare:item id="198" kind="file" parent="" share="35" category="photos" size="1816742"
                      created="2026-08-31T20:14:00Z" updated="2026-08-31T20:14:00Z"/>
    </item>

    <item>
      <title>(removed)</title>
      <guid isPermaLink="false">fileshare:1:deleted:38</guid>
      <pubDate>Mon, 06 Oct 2026 08:00:00 +0000</pubDate>
      <fileshare:deleted share="38"/>
    </item>
  </channel>
</rss>

A "Shared with me" view built from this document groups the three live rows as Today (Trip photos), Last month (Q3 R&D report.pdf) and Earlier this year (beach.jpg), and removes whatever row it held for share 38.

The folder page for "Trip photos", fetched live when the recipient opens it:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:fileshare="https://rss.ag/rss-fileshare-extension/ns/1.0/">
  <channel>
    <title>Social Web files - Brian - Trip photos</title>
    <link>https://brian.socialweb.cloud/v/feed?c=3f9a0c2e7b1d4e8f9a0b1c2d3e4f5a6b&amp;parent=120</link>
    <description>Contents of Trip photos</description>
    <fileshare:version>1.0</fileshare:version>
    <fileshare:owner id="1" name="Brian" host="https://brian.socialweb.cloud" handle="brian"/>
    <fileshare:scope parent="120" share="41" offset="0"/>
    <fileshare:truncated>false</fileshare:truncated>

    <item>
      <title>Day 2</title>
      <guid isPermaLink="false">fileshare:1:item:125</guid>
      <pubDate>Mon, 06 Oct 2026 22:00:00 +0000</pubDate>
      <author>Brian</author>
      <fileshare:item id="125" kind="folder" parent="120" share="41" category="" size="0" count="30"
                      created="2026-10-02T10:00:00Z" updated="2026-10-06T22:00:00Z"/>
    </item>

    <item>
      <title>IMG_0001.jpg</title>
      <guid isPermaLink="false">fileshare:1:item:121</guid>
      <pubDate>Mon, 06 Oct 2026 21:14:03 +0000</pubDate>
      <author>Brian</author>
      <enclosure url="https://brian.socialweb.cloud/api/media/8c1f2a77-5d0e-4b9a-9c3e-2f1d0e9a8b7c?exp=1791482400&amp;sig=Qm9yZ2Vz"
                 type="image/jpeg" length="2048311"/>
      <fileshare:filename>IMG_0001.jpg</fileshare:filename>
      <fileshare:item id="121" kind="file" parent="120" share="41" category="photos" size="2048311"
                      created="2026-10-06T21:14:03Z" updated="2026-10-06T21:14:03Z"/>
    </item>
    <!-- ten more items elided -->
  </channel>
</rss>

The single-item document for IMG_0001.jpg, fetched by the recipient's server immediately before it relays a download, so that a revoked share answers 404 here before any bytes move:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:fileshare="https://rss.ag/rss-fileshare-extension/ns/1.0/">
  <channel>
    <title>Social Web files - Brian - IMG_0001.jpg</title>
    <link>https://brian.socialweb.cloud/v/feed?c=3f9a0c2e7b1d4e8f9a0b1c2d3e4f5a6b&amp;item=121</link>
    <description>One item</description>
    <fileshare:version>1.0</fileshare:version>
    <fileshare:owner id="1" name="Brian" host="https://brian.socialweb.cloud" handle="brian"/>
    <fileshare:scope item="121" share="41"/>
    <fileshare:truncated>false</fileshare:truncated>

    <item>
      <title>IMG_0001.jpg</title>
      <guid isPermaLink="false">fileshare:1:item:121</guid>
      <pubDate>Mon, 06 Oct 2026 21:14:03 +0000</pubDate>
      <author>Brian</author>
      <enclosure url="https://brian.socialweb.cloud/api/media/8c1f2a77-5d0e-4b9a-9c3e-2f1d0e9a8b7c?exp=1791482400&amp;sig=Qm9yZ2Vz"
                 type="image/jpeg" length="2048311"/>
      <fileshare:filename>IMG_0001.jpg</fileshare:filename>
      <fileshare:item id="121" kind="file" parent="120" share="41" category="photos" size="2048311"
                      created="2026-10-06T21:14:03Z" updated="2026-10-06T21:14:03Z"/>
    </item>
  </channel>
</rss>

License

MIT

References

Implementations

  • Social Web v3 (reference, in progress): host feed, hub resolver, connection handshake and subscriber in the socialwebv3 Go server; "Shared with me" in the Social Web phone and desktop apps. See IMPLEMENTATION.md in this repository for the plan and ASSESSMENT.md for what exists today.