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

Submit items that make it to the final step to Archive dot Org #994

Open
AramZS opened this issue Feb 5, 2018 · 7 comments
Open

Submit items that make it to the final step to Archive dot Org #994

AramZS opened this issue Feb 5, 2018 · 7 comments

Comments

@AramZS
Copy link
Member

AramZS commented Feb 5, 2018

https://archive.readme.io/docs/creating-a-snapshot
https://www.w3.org/TR/annotation-model/

Proposed model:

{
  "@context": "http://www.w3.org/ns/anno.jsonld",
  "id": "http://example.org/anno2", <-- custom endpoint ?
  "type": "Annotation",
  "body": {
    "id": "http://example.org/analysis1.mp3", <-- Pressforward site
    "format": "audio/mpeg", <--- html
    "language": "fr" <--- Can we pull this from WP site settings?
  },
  "target": {
    "id": "http://example.gov/patent1.pdf", <--- item pulled to last step link
    "format": "application/pdf", <--- html
    "language": ["en", "ar"], <--- Again from WP site settings?
    "textDirection": "ltr", 
    "processingLanguage": "en"
  }
}
@AramZS AramZS added this to the 5.2 milestone Feb 24, 2018
@yoannspace
Copy link
Contributor

Question, you want archive dot org to save the page you are creating (the wordpress post) or to save the source page?

@AramZS
Copy link
Member Author

AramZS commented Mar 1, 2019

The source page. The idea would be that we are adding the submitted page to our internal archive but also to Archive.org.

@yoannspace
Copy link
Contributor

Great! We were thinking about the exact same thing and I realized it would make more sense to it in PF than in one of our other plugin.
Please don't wait for me, but I might be able to draft something up on this in the next weeks if you are interested. 2 questions: in which branch are you expecting this to be merged (5.2.x?)? when is 5.2 expected to be ready? Thanks

@AramZS
Copy link
Member Author

AramZS commented Mar 1, 2019

Let's merge it in 5.2.x @yoannspace. I'm hoping that it will be ready to go in the next month or two. If not we may issue a patch release with this and smaller issues in it before a larger release to handle the big functionality we want to push.

@yoannspace
Copy link
Contributor

Have you tried the API? I can't seem to be able to connect... https://archive.readme.io/docs/creating-a-snapshot
I successfully implemented a simple GET request to their server. I will add a PR here but not sure if it would be enough for you...

yoannspace added a commit to DARIAH-ERIC/pressforward that referenced this issue Apr 9, 2019
Simple GET request to the archive.org server
@AramZS AramZS modified the milestones: 5.2, 5.3 Jul 17, 2019
@boonebgorges boonebgorges modified the milestones: 5.3.0, Future release Dec 16, 2022
@boonebgorges
Copy link
Contributor

This is a cool idea, with a few caveats:

@boonebgorges boonebgorges modified the milestones: Future release, 5.9.0 Aug 22, 2024
@boonebgorges
Copy link
Contributor

If we do this, we should save the fact that an item has been successfully added to archive.org. We can then show this to the user somehow, perhaps in our existing tools for showing PF metadata in the block editor. We could also use this as a potential fallback if a source item becomes unavailable; see #703.

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

3 participants