GithubHelp home page GithubHelp logo

imclab / slideshow_generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from berkmancenter/slideshow_generator

0.0 1.0 0.0 60 KB

Slideshow Generator for images contained in Harvard public collections

License: MIT License

slideshow_generator's Introduction

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

slideshow_generator's People

Contributors

jdcc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.