Skip to content

Commit

Permalink
Data format for Infobox
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-dietz committed Feb 1, 2022
1 parent 77e40e6 commit 2c759d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Articles, outlines, paragraphs are all described with CBOR following this gramma
SiteId -> [$siteId]
PageTags -> [$pageTags]
PageSkeleton -> Section | Para | Image | ListItem
PageSkeleton -> Section | Para | Image | ListItem | Infobox
Section -> $sectionHeading [PageSkeleton]
Para -> Paragraph
Paragraph -> $paragraphId, [ParaBody]
Expand All @@ -97,6 +97,7 @@ Articles, outlines, paragraphs are all described with CBOR following this gramma
ParaBody -> ParaText | ParaLink
ParaText -> $text
ParaLink -> $targetPage $targetPageId $linkSection $anchorText
Infobox -> $infoboxName [($key, [PageSkeleton])]
~~~~~

You can use any CBOR serialization library. Below a convenience library for reading the data into Python (3.5)
Expand Down

0 comments on commit 2c759d2

Please sign in to comment.