Content representations for Box
Bug #1398072 reported by
Paul Everitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL4 |
Fix Released
|
Medium
|
Chris Rossi |
Bug Description
The goal is to put all the content about a community into a Box parent folder with the name of the community, then subfolders for each tool. We then create content in KARL for each resource in the tool.
Think about the most-feasible representation of a Blog Entry (with Attachment), Blog Entry, etc. Even Folder and File objects have some extra data.
In fact, the community itself has some data: members, tags. How feasible is it to represent various information in a community?
Changed in karl4: | |
status: | New → In Progress |
Changed in karl4: | |
milestone: | 003 → 004 |
Changed in karl4: | |
status: | In Progress → Fix Committed |
Changed in karl4: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Paul,
I've gone ahead and committed the first little bit, in progress, so you can see the basic strategy and provide critique and/or course corrections sooner than later.
There is a new console script, bin/archive <community_name> <folder> that dumps community content to the local filesystem. It does this by first constructing an in memory representation and then realizing that representation to the filesystem. The code to realize the representation to the filesystem is only 7 lines, so the idea that moving from the filesystem realization to the Box realization should be trivially easy. In the meantime, the work in progress is easy to see without having to fool with Box.
So far, it creates an index page for the community and archives the community's blog. I'll be moving on to the other tools shortly, using the same basic strategy.