Skip to content

benmarwick/Advances-in-Archaeological-Practice-Tweets

Repository files navigation

Advances in Archaeological Practice Tweets

The goal of this repository is to make it easy to compose and post tweets to advertise new articles published in the SAA's journal Advances in Archaeological Practice.

We have started with code that Auriel Fournier uses to post tweets for the Wilson Ornithological Society and made some extensions to share articles from Advances in Archaeological Practice.

The R code in this repo will:

  • look at the list of articles on the AAP 'latest issue' page and grab the title, DOI, and screenshot of the abstract of each article
  • look into folders on a private Google Drive folder where the editor has deposited some images from each article
  • look into a private Google Sheet to get twitter handles and hashtags to include in the tweets
  • convert those images from jpeg/pdf/tiff to png, and resize to 3 MB (Twitter's max image size)
  • compose a tweet for each article in the latest issue in the format "New in @saaorg's AAP: {title} {DOI} #archaeology", and attach the abstract screenshot and the images from the Google Drive to that tweet.
  • post tweets for all the articles in the latest issue

The AAP twitter page is at https://twitter.com/aap_saaorg. Here is a typical tweet created by this code:

Code of Conduct

Please note that the 'Advances-in-Archaeological-Practice-Tweets' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Releases

No releases published

Packages

No packages published

Languages