Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create database of h-cards #9

Open
jacobwhall opened this issue Apr 27, 2021 · 1 comment
Open

Create database of h-cards #9

jacobwhall opened this issue Apr 27, 2021 · 1 comment

Comments

@jacobwhall
Copy link
Owner

No description provided.

@jacobwhall jacobwhall added this to the 0.4 milestone Apr 27, 2021
@jacobwhall
Copy link
Owner Author

The plan here is to create a table in the database that has the h-card's base URL (usually be a domain name, but I'd like to also support subdomains and paths), the status of the card (i.e. if someone has requested I do not post their information), a JSON-formatted cell of the parsed mf2 of their h-card, and a timestamp of the row's entry.

Should someone's h-card update to not exactly match the most recently timestamped row for that URL, save it as a new row. This will create a natural history of any changes they've made. The front-facing site will only ever consult the table's most recent row for a given h-card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant