Open riazaia opened 2 years ago
(Is there a way to do that first and have it terminate all the other ones? Maybe nesting the getThing
constants?)
Added ability to check for restricted status on its own ( #14 ), unsure if it should be folded into works page instead but if nothing else hopefully is a resource
series url author url
FWIW, I’d rather have things like notes, summary, text, etc return the full html block (not strip out any formatting tags) and then the user can sanitize or reformat however they need. (For example for Archivist, I’d like to be able to take the html formatting the AO3 user has added and transform it to markdown, but I can’t do that if it’s been sanitized ahead of time).
Hopefully this isn’t off topic, but I’ve been meaning to add the option for plaintext bio separate from formatted bio to the user utils and wonder if there’s merit in doing the same here? I agree that html is the priority, I was just thinking there wasn’t any reason I know of not to put that flexibility in. On Feb 11, 2022, 13:51 -0800, Amber @.***>, wrote:
series url author url
• also fair warning that series, author, and collection will have to cover a work that’s in MULTIPLE series author and collection.
FWIW, I’d rather have things like notes, summary, text, etc return the full html block (not strip out any formatting tags) and then the user can sanitize or reformat however they need. (For example for Archivist, I’d like to be able to take the html formatting the AO3 user has added and transform it to markdown, but I can’t do that if it’s been sanitized ahead of time). — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>
Hmmm... I think there's probably merit in it. Maybe there's something worth doing it as plain text, html, or markdown within the API as those are the main ways for text data to be provided on the web now.
@essential-randomness what are your thoughts about large text blocks and formatting?
I would personally approve of us giving people a nice interface to extract the data in markdown, plain text or HTML for a couple reasons:
Only caveat: we should just return the HTML from AO3 from our API, and then we should provide transformations as utilities. Let's not overload the core library.
as per #15 you can now get a work url and id
Individual Work Page
(https://archiveofourown.org/works/{id})