Comments (17)
@gbinal Are the newsclips already in yml (I don't know how github wikis work)? If no, I suggest that as a first step. I could see us pulling this into several parts of the 18f site once its revamped (never fear....still in process and moving). @gboone @mbland thoughts?
from hub.
No, just hyperlinked in github markdown. I'm happy to convert them but would just need to know where to put the material.
from hub.
Got it. Well, before you spend the time doing it, I'll let @gboone and @mbland weigh in. I would imagine that the file would go....hmmm....maybe in the data-private
repo if that is becoming our 18F data repo in general, but I might not be privy to the latest thinking there.
from hub.
Good idea bringing this into the Hub or 18f-site. If it's just links and dates it could be yaml data. If we're going to summarize them at all it might be worth creating a collection for news clips.
from hub.
Let's go with yaml for now. I've only had the bandwidth to keep track of article links and titles and am not in a position to expand that.
FWIW, I'm not advocating adding this to the main 18f.gsa.gov. Personally, I think that'd be a bit garish. It's more a team resource that doesn't need to be private.
from hub.
We'll see. It might be interesting to have just the latest news clip show
up somewhere. But yes, understood ;)
On Thu, Jan 8, 2015 at 10:20 AM, Gray Brooks [email protected]
wrote:
Let's go with yaml for now. I've only had the bandwidth to keep track of
article links and titles and am not in a position to expand that.FWIW, I'm not advocating adding this to the main 18f.gsa.gov. Personally,
I think that'd be a bit garish. It's more a team resource that doesn't need
to be private.—
Reply to this email directly or view it on GitHub
#38 (comment).
Michelle Hertzfeld
[email protected]
520-208-3752
202-317-0155
@18F
from hub.
It's more a team resource that doesn't need to be private.
Sounds like a good use case for a sub-page of the Hub, then 👍
https://github.com/18F/hub/tree/master/pages#publicly-visible-pages
from hub.
...and can be fed by a data file in https://github.com/18F/hub/tree/master/_data, if you like.
from hub.
I'm happy to put them in as yml in /_data and we can figure out what to do with them.
Just to check, does this look okay to start? (it's the data I have, I'm just asking about format)
- article: Full Text Of Title
url: http://www.publication.com/name_of_article
- article: Full Text Of Title, 2
url: http://www.publication.com/name_of_article_2
from hub.
👍
from hub.
from hub.
Just to confirm, I don't plan to do individual additions to the clips.yml through pull requests but rather as direct commits. Holler if that's any concern, @afeld, @mbland
from hub.
Nah that's fine. But if it breaks the build, I will find you
😉
from hub.
:)
from hub.
@gbinal For stuff like this that's hard to screw up, that's perfectly fine. Though you may want to do something like the following for a sanity check:
$ ruby -e "require 'yaml'; puts YAML.load_file '_data/public/clips.yml'"
Whoops, I just noticed two things: One, that _data/public
really isn't the best place for clips.yml
. No matter; we can move it when we get ready to prepare the page. (And, I can better document that no data should be directly added to _data/public
; it's an honest mistake and my fault for not having it better documented by now.)
Two:
/usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/psych-2.0.9/lib/psych.rb:370:in `parse': (_data/public/clips.yml): mapping values are not allowed in this context at line 2 column 26 (Psych::SyntaxError)
The first article:
entry contains a colon. I think it needs to be wrapped in quotes. Same for lines 41, 44, 62, 80, 86, 128, 146, 158, 185, and 266. PR to fix: #46
from hub.
Have tried a first pass at making an html page at #47
@afeld, game to take a look?
from hub.
Like @afeld says, #47 addresses
from hub.
Related Issues (20)
- Link to hub index from homepage HOT 1
- URL for filtered team results can be shared HOT 2
- Optionally OR team-browser filters
- Investigate elasticsearch as an alternative to lunr.js server HOT 2
- Investigate testing options for front-end HOT 3
- Add public/private qualifier to search results page
- Add last update and by whom to search results
- Come up with deployment plan
- Team browser only displays active team members
- Set up new repo and hello world app for Hub
- Anchor links aren't working HOT 8
- Link to Team Browser from Homepage HOT 1
- Recent hires show on the hub homepage HOT 1
- Link to guides from hub homepage HOT 1
- Clean-up story
- I see pictures of recent hires on the hub homepage HOT 1
- I can click through to the show page for a new team member HOT 1
- Fix search for guides
- SSO Not redirecting the URL
- Setting the upstream for oauth2_proxy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hub.