question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to store metadata about a feed

See original GitHub issue

A number of different issues and ideas have made clear the need for a place to specify metadata about a twtxt.txt feed. For instance, essentially every idea for notifications so far needs to know where the notifications should go (technical details vary based on the proposal). The question then is how to store metadata.

Discussion in #22 has suggested a general comment character, thus allowing clients to handle individually how the metadata would be stored. I suggest building on this, allowing for general comments, but make the following format specifically for metadata:

# this is a regular comment

# the next line is a metadata entry
# nick = benaiah

This echoes the .ini format of the twtxt config file, which I think gives it a nice consistency.

The other main suggestion for metadata is to have another file. I dislike this approach because it complicates the protocol, significantly increases how much twtxt has to hit the network, and requires either a second URL for each person (for the metadata file), switching twtxt.txt to hold metadata and having another file hold the feed, or putting a metadata entry in twtxt.txt that points to the metadata file.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:3
  • Comments:65 (34 by maintainers)

github_iconTop GitHub Comments

2reactions
smeagolthellamacommented, Aug 10, 2019

are there any conventions about this stuff yet? Or, just in general, any progress?

2reactions
DracoBluecommented, Mar 23, 2016

Ok.

So:

TIMESTAMP#action param1

is the final version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feed metadata - Maps Booking API - Google Developers
Warning: nonce - make sure that this field has a unique value across feed uploads. A common practice is to generate it using...
Read more >
How do you design a meta data for a news feed - LeetCode
For newsfeed(NF), we can have a relational data base which consist of the nf_id, creation date, last update, blob of content/text [lets keep...
Read more >
5.1. Metadata in RSS 2.0 - Developing Feeds with ... - O'Reilly
As all good tutorials on the subject will tell you, metadata is data about data. In the case of RSS 2.0, this includes...
Read more >
7.4 - Feeds Protocol Developer's Guide - Google
The feed is an XML file that contains the URLs. It may also contain their contents, metadata, and additional information such as the...
Read more >
Methods for storing metadata associated with individual files?
To store metadata in database has some advantages but main problem with database is that metadata are not directly connected to your data....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found