-
-
Notifications
You must be signed in to change notification settings - Fork 8
Replace youtube iframes #26
Comments
I'll help with this if I can. I have the repo running locally (node v8.9.1) but if I click on an article I get a "gatsby.js development 404" page.
|
Hi @nikrb I have just push a big update which moved all the pages into a new folder. Please be sure to Thanks for taking this on, I don't know why you would get the |
Hi @Bouncey did the pull rebase and re install. missing "audio" and "video" directories gave errors, so created them. Now I get the landing page, but when I click a story I see the following errors. I have tried edit: sorry I should add the article show for a second or two before the browser error appears. client
server
|
How do I view the pages after I have updated them? |
@nikrb I would install httpster. Then you can run the command |
sorry @QuincyLarson but I don't get it. when I open localhost:3001 I see a directory listing. I've tried clicking various things, but I just get the file text. Clicking on md files shows a download dialogue. |
@nikrb Hm... try running |
@QuincyLarson yes that's the ticket, but how do I view, say, the article 1-000-days-of-freecodecamp, so I can check my updates to the md file? |
@nikrb You should be able to navigate to it. I'm not sure where that specific file is in the directory tree, but most of them should be accessible just by going to localhost:8000 and clicking around in the UI. |
@QuincyLarson I have found the md files no problem. Regarding clicking around the UI, there is a search bar. Tried searching for the "1000 days of freecodecamp", using single words and combinations, but it doesn't show up. e.g. "1000" shows articles about SQL in the main and "1000 days" returns no results. The "Load More" button at the bottom of the landing page only seems to work once and I don't see any errors in the server or client. I guess I'm looking at the code next time :) |
That article isn't in the search as News isn't ready for release yet. The search component is using the live version of search. You should get results for guide, youtube and challenge. I am working on dockerising the search repo so it can be run locally with minimal fuss, (without having to install and configure elasticsearch) this should help whilst news it in development, and for testing any search features across all repos. At the minute, the only navigation we have is direct URL. Each article can be found at |
hey guys, I tried the first few md files but got the error below. for example:
Note the path in the error message, I'll have a look through the code ... any suggestions appreciated :) |
Ah yes, sorry about that @nikrb, I was in the middle of refactoring the file structure, and I haven't gotten round to completing it yet. We should shelve this until I get it all working again, and I can ping you when it's good to go. Being such a new project, things are pretty fluid as you can imagine. |
yes of course @Bouncey no worries. If I can find the code locally I'll make a start on the md file changes. |
@Bouncey Hi, howze it going?
Am I missing something? |
This gist holds a list of stories that have been marked as containing embedded youtube videos.
We need to replace them with our own to maintain the resource. They currently do not work, I suspect this is because we do not have the correct origin.
What is required is that each iframe in the resource should be replaced with the correct youtube embed.
@QuincyLarson
The text was updated successfully, but these errors were encountered: