-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
39 lines (32 loc) · 1.66 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
I suck and deleted my original notes file.
Models:
See config/doctrine
Flow:
Search for a keyword in certain repos (checkboxes under keyword input)
Fill the keyword into each repo search_url_pattern and fetch results
$response = Repo->search($keyword)
$parser = Repo->getParser()
$images = $parser->getImages($response);
Send results through native result_format parser (xml or json) to get PHP object (or array)
Send object through repo-specific parser to pull out relevant info for each image (id_1, id_2, id_3)
Don't store in database. Each image in collection will have associated checkbox with concatenated value of from_repo|id_1|id_2|id_3
On form submit, read all the submitted image data and connect to either new or current slideshow, and dump to database
Show the current slideshow with numbers beneath for ordering and submit button
Override that stuff with javascript to allow drag-drop reordering of slides
Show button to view slideshow and direct slideshow link
Have panel throughout to manage particular slideshow
Questions:
Are we connecting this to PIN system, or how else are we allowing access to particular old slideshows? - We're setting up our own user database
Notes:
http://webservices.lib.harvard.edu/rest/hollis/search/dc/?q=material-id:matPhoto+{keyword}
Parser classes will have to parse every url in the repo class and return standardized PHP objects
Turns out you can't call something Search as it's special in Symfony
TODO:
Figure out proper form type extensions
Figure out what the page flow should be
Figure out proper pagination (currently has repeats)
Add fetcher ability to get metadata for constituent
Requirements:
PHP curl lib
PHP DOM lib
libxml