-
Notifications
You must be signed in to change notification settings - Fork 1
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
100 years ago twitter bot & review page #642
Comments
@jkotin @clmahoney some notes and questions on my 100 years ago twitter implementation I'm building a login-only view where you'll be able to see upcoming tweets and check if there are any problems with the data or the twitterbot code — proposing we use the review for a while without automatically tweeting to check for any errors. I propose we link to specific lending cards when possible (i.e. for borrows & purchases that are footnoted and linked to an image). Questions:
Here's a screenshot of what the review page currently looks like: |
@rlskoeser This looks great. Responses:
|
@jkotin thanks for the responses.
|
Perfect. Re: 3 -- I agree that >2 should get an et al. It will be rare anyway. |
@jkotin I'd like to revise the language we're using for subscription events — "joined the library" isn't always accurate for subscription events in the database, since sometimes what are effectively renewals (following a preceding subscription) were logged and documented as subscriptions, and there are plenty of people who let their subscription end but then subscribe again later. (In theory I could check if there are preceding events for the same account, but that could introduce errors and I'd rather not make this code any more complicated than it already is!) Could we use the same language as the renewals, with subscribed instead of renewed? ("renewed for 1 month at 1 volume per month", "renewed for 2 months"). I know you liked explicitly mentioning the "Shakespeare and Company lending library" — if you don't like making them the same as renewals, please suggest alternate revised wording for subscriptions. |
Some notes on the tweets on the test site:
|
Re: language for posts -- I'm OK with using "subscribed" and "renewed." Would it be possible to include "Shakespeare and Company" like this: 100YearsAgoToday on Saturday, June 27 at the Shakespeare and Company lending library, John Smith subscribed for 1 month at 1 volume per month. 100YearsAgoToday on Saturday, June 27 at the Shakespeare and Company lending library, John Smith renewed for 1 month at 1 volume per month. 100YearsAgoToday on Saturday, June 27 at the Shakespeare and Company lending library, John Smith borrowed "Ulysses" (1922). An alternative would be: 100YearsAgoToday on Saturday, June 27 at Shakespeare and Company, John Smith renewed for 1 month at 1 volume per month. Indeed, just say "Shakespeare and Company," instead of "the Shakespeare and Company lending library" may be better. |
@jkotin thanks for all the feedback. I like the revised language for subscriptions & including S&co in the prolog of every tweet.
The smart quotes aren't as readable in the font used on the site (or the one twitter uses, either 😕 ). Here's how it looks in my command line report: #100YearsAgoToday on Wednesday, June 30, 1920 at Shakespeare and Company, Marquis Pagan returned George Bernard Shaw’s “The Philanderer” (1905). #100YearsAgoToday on Wednesday, June 30, 1920 at Shakespeare and Company, Marquis Pagan borrowed Rudyard Kipling’s “The Light That Failed” (1891). I don't know if the GitHub font is any better. If you're still not convinced, would you try cutting and pasting the text into a document so you can see the smart quotes more clearly? Revisions are available on the test site. |
This all looks good to me! If Ian get the AR position, we'll fix the author names in the database to follow the same rules as the member names. At that point, you'll want to use the sort name, according to the same rules at the front end. |
@jkotin this functionality is now on the test site with all the changes we discussed. Please check the review page to confirm the format of the tweets and that it will be sufficient for you to review the tweets ahead of time before they are posted. If there are scenarios you want to check that aren't showing up in the next four weeks (i.e., multiple authors, editors but no author, titles with no year) please provide a few dates for events you'd like to check — I can run a command line report that will display the tweets for any specified date and share the output with you. The test site is configured to tweet using a test bot account that I've set to private. If you request to follow I will grant access so you can see how the new tweets look, and more easily compare them with the existing account. https://twitter.com/ShakesCo100test |
This looks good. I can't think of scenarios to test. Two sets of questions:
|
@jkotin I manually configured the test site to show 3 months of data instead of 4 weeks so you can look and see if there are any odd cases that aren't being handled correctly. (The report is currently including borrow returns that are outside of that date range; let me know if that's confusing; I can clean it up, but wasn't sure it mattered). I don't see any examples with multiple authors or no authors and editors — but I did include those in my unit tests following your guidelines. I thought it would be slower with that much more data, but it doesn't seem too bad — so we could change it to show more than 4 weeks if you prefer. Let me know what you'd like. To answer your questions:
|
I'm working on this as R&D, but have some questions and notes and thought it would be easiest to create an issue to track them and test the work.
6/27/2020 still todo
The text was updated successfully, but these errors were encountered: