Skip to content

Commit

Permalink
Ganjoor Museum: import manuscripts from IIIF manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
hrmoh committed Jan 17, 2025
1 parent 8d0b376 commit fd74aa7
Show file tree
Hide file tree
Showing 5 changed files with 457 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RMuseum/Controllers/ArtifactController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ await _artifactService.Add
/// <summary>
/// import from external resources
/// </summary>
/// <param name="srcType">pdf/loc/princeton/harvard/qajarwomen/hathitrust/penn/cam/bl/folder/walters/cbl/append</param>
/// <param name="srcType">pdf/loc/princeton/harvard/qajarwomen/hathitrust/penn/cam/bl/folder/walters/cbl/append/iiif</param>
/// <param name="resourceNumber">119/foldername</param>
/// <param name="friendlyUrl">golestan-baysonghori/artifact id</param>
/// <param name="resourcePrefix"></param>
Expand Down
1 change: 1 addition & 0 deletions RMuseum/Models/ImportJob/JobType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ public enum JobType
Walters = 10,
ChesterBeatty = 11,
AppendFromServerFolder = 12,
IIIF = 13,
}
}
16 changes: 14 additions & 2 deletions RMuseum/RMuseum.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
<summary>
import from external resources
</summary>
<param name="srcType">pdf/loc/princeton/harvard/qajarwomen/hathitrust/penn/cam/bl/folder/walters/cbl/append</param>
<param name="srcType">pdf/loc/princeton/harvard/qajarwomen/hathitrust/penn/cam/bl/folder/walters/cbl/append/iiif</param>
<param name="resourceNumber">119/foldername</param>
<param name="friendlyUrl">golestan-baysonghori/artifact id</param>
<param name="resourcePrefix"></param>
Expand Down Expand Up @@ -17324,6 +17324,9 @@
<summary>
IArtifactService implementation
</summary>
<summary>
IArtifactService implementation
</summary>
</member>
<member name="M:RMuseum.Services.Implementation.ArtifactService.StartSettingArtifactAsTextOriginalSource(System.Int32,System.Guid)">
<summary>
Expand Down Expand Up @@ -17394,6 +17397,15 @@
<param name="skipUpload"></param>
<returns></returns>
</member>
<member name="M:RMuseum.Services.Implementation.ArtifactService.StartImportingFromIIIF(System.String,System.String,System.Boolean)">
<summary>
from IIIF manifest
</summary>
<param name="url">example: https://viewer.cbl.ie/viewer/api/v1/records/Per_268/manifest/</param>
<param name="friendlyUrl"></param>
<param name="skipUpload"></param>
<returns></returns>
</member>
<member name="M:RMuseum.Services.Implementation.ArtifactService.StartImportingFromTheLibraryOfCongress(System.String,System.String,System.String,System.Boolean)">
<summary>
from https://www.loc.gov
Expand Down Expand Up @@ -17732,7 +17744,7 @@
<summary>
import from external resources
</summary>
<param name="srcType">pdf/loc/princeton/harvard/qajarwomen/hathitrust/penn/cam/bl/folder/walters/cbl/append</param>
<param name="srcType">pdf/loc/princeton/harvard/qajarwomen/hathitrust/penn/cam/bl/folder/walters/cbl/append/iiif</param>
<param name="resourceNumber">119/foldername</param>
<param name="friendlyUrl">golestan-baysonghori/artifact id</param>
<param name="resourcePrefix"></param>
Expand Down
Loading

0 comments on commit fd74aa7

Please sign in to comment.