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

Add back in "shortname" or some other variable #89

Closed
karindalziel opened this issue Oct 24, 2017 · 4 comments
Closed

Add back in "shortname" or some other variable #89

karindalziel opened this issue Oct 24, 2017 · 4 comments

Comments

@karindalziel
Copy link
Member

Here's the problem I am running into:

I need to change the XSL to build the media server URL's. Right now the media_base looks like this:

media_base: https://cdrhmedia.unl.edu

So in order to build the complete URL, I need to add

images/cather-complete-letters

but I don't know that I want to pull cather-complete-letters fromt he folder name because the actual repo name is "complete letters" and the folder name could be different on different servers.

As Jess and I talked about it, I realized that since the folder name will never be committed to the repo it's probably not the best basis for building path URL's. Jess proposed we add a new variable, "folder_name" which will be passed through for things that require the folder path, and then add "shortname" back in. (ugh, sorry)

I'm open to other names besides "shortname" though - namespace? something else?

@techgique
Copy link
Member

Something like "namespace", "context", or "scope" sounds nicer :)

@karindalziel
Copy link
Member Author

yeah, I'm leaning towards namespace. I'm trying to think of different contexts we might use this - building media URL's what else?

@techgique
Copy link
Member

"abbreviation"?
"abbreviname" 👍 hehe

@jduss4
Copy link
Contributor

jduss4 commented Oct 1, 2019

I'm closing this because I hate it but also now you can add anything you want

@jduss4 jduss4 closed this as completed Oct 1, 2019
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

3 participants