Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV => URL? #7

Open
magnusmanske opened this issue Nov 11, 2016 · 1 comment
Open

CSV => URL? #7

magnusmanske opened this issue Nov 11, 2016 · 1 comment

Comments

@magnusmanske
Copy link

How can I construct a URL to the move page at http://catalogue-lumiere.com/ from the CSV?
Something like http://catalogue-lumiere.com/ ?

@ms-studio
Copy link
Member

Hi Magnus,

Thanks for asking!

One thing you can do is to query via the WordPress REST-API, which will give you the content in JSON.

For example, let's say you need to to get the content about this movie: https://catalogue-lumiere.com/priere-du-muezzin/

The CSV fields are: "197",2,"Prière du muezzin","operator-15","Alexandre Promio", etc...

The first two numbers are identifiers. The first ("Numero-Original") is the number used in the Lumière catalogs from the early 1900s. The second ("Numero-Livre") is the number used by historians Michelle Aubert et Jean-Claude Seguin in their 1996 book.

Here's how you would structure such a query:

If you need another type of output, let me know what your use case is, and we can think about other ways of accessing the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants