Personal feed URLs
A personal feed URL is the normal feed URL plus two parameters: lh_private_feeds-user_id, the member’s user ID, and lh_private_feeds-key, an HMAC-SHA256 signature of the user ID and the member’s private feed key (user meta _lh_private_feeds-key). The signing secret is derived from the site’s AUTH_KEY/AUTH_SALT, so it is unique to the install and not in the source.
- A logged-in member who opens any feed is redirected to their own signed URL, ready to copy into a feed reader.
- A logged-out request with a valid signature is served as that member, with no-cache headers. A missing, wrong or tampered signature gets the public feed.
- To revoke a member’s feed URLs, delete their
_lh_private_feeds-keyuser meta; a new key is made the next time they open a feed. Changing the site’s salts revokes everyone’s.
Before 1.2.0 the parameters were encrypted with a key that was fixed in the source; those URLs no longer work, and members need to copy their feed link again.
Hooks
lh_private_feeds_signing_secret: the secret signatures are made with.lh_private_feeds_is_the_url_a_feed: whether the current request is a feed.lh_private_feeds_is_local_feed_url: whether a navigation link points at one of the site’s feeds.

