I'm relatively new to web programming and actually creating a new website for our local hackspace with Jekyll. The only problem I have is, that I don't know how to display the Events from our iCal calendar on a jekyll site.
Any Ideas?
Best regards
Felix
Related
So I have a Gitlab CI that will, currently, queue up every Monday at 6am and run. All it does is push a build command to Netlify using a build hook.
My current set up is Gitlab for VC, Netlify for deployment, HUGO as my static site generator.
No problem.
Here's what I'm trying to do: I have access to an API that shows me all of the items on a particular website (podcast) as JSON.
I want to write a Gitlab CI that will fetch the API, grab the newest thing, and then create a new page with hugo new content/{title}.md, and fill that file's front matter with something from the JSON object.
I'm not even sure this is possible, or that this is the best route to go.
But basically, every time I upload a new podcast, I want Gitlab and Netlify to rebuild my website with a dedicated page for that episode.
The easiest route is to parse the JSON with javascript and NOT create a seperate page, but I guess you figured that out already.
The way you describe is also possible. Any server-side script can fetch the API and run the hugo new command (as long as it is on the same/deployment server). I would do it in PHP on my server, but I am kind of old-fashioned. Gitlab CI can probably do this too, but I have never tried it.
You did not really ask a question, but did I answer it anyway?
I am currently making a personal portfolio for myself in React. I have some projects I would like to add to my React sites that were created using HTML, CSS and vanilla JS. I'm looking for a way to easily add them into my project. They are not currently hosted anywhere. I know this should be rather simple but I'm not sure exactly how to express what I am trying to do. Any help would be greatly appreciated.
If they were created only using HTML, CSS and vanilla JS, then you can host them at GitHub Pages.
After this, use an iframe element to insert them into your React project.
I should also add it's also completely free and very easy to host static sites made with html/css/js with google's firebase. I've even deployed a couple production level applications on firebase and the clients have used them for a while without issues. The links to your projects will feel more "professional" if you host them on firebase instead of on github pages in my opinion.
Refer to this to learn how to host your site on firebase. The general rundown though is you log onto firebase with a google account of your choice, create a new firebase project (think of it as an empty space on the cloud to "host" your site), then you install command line tools for firebase (similar to when you first installed git or npm), then use the command line tool to login, select the project you created, initalize firebase in the directory of the react portfolio's index.html that you want to host, then you simply run the command firebase deploy --only hosting. It then tells you the url which your site is hosted.
You can also simply add links to your hosted projects instead of putting their entire page on your portfolio via iframe like was suggested. You could also take some nice screen shots and make a slider to showcase each and provide the link to the actual site on click. Just some ideas.
An app I am working on needs a Today Extension / Widget. Are there any resources on how to build one into an Cordova app?
I found this, but it's not written very clearly and from what I understood seems to be a native app that only uses a HTML5 element in the app and widget to display some data :/
Yes you are right, today extension are a native thing. I recently also did a lot of research on how to integrate one into a cordova project dynamically and ended up creating my own cordova-plugin for that. You can find it here, maybe it will be useful for you too! Nevertheless you will have to implement the widget in Swift.
The plugin takes an already developed widget and integrates it in an cordova-ios project on every cordova platform add ios using a hook which parses and modifies the project.pbxproj via the help of cordova-node-xcode.
I'm wanting to know how to find newly created pages for a specific website.
The more info I can get, the better. Info such as; date created, etc.
So for example: I'd like to be able to find out every new page that shirtoid.com uploads/creates.
What's the best way to do this? Is there a software that does as well?
Thanks.
They have an RSS feed which you can follow. You can use an rss reader to get updates automatically. Or if you want to use the data inside some software ur trying to develop then I'm sure there is a library for working with RSS feeds.
Is anyone aware of a way to host a mobile-friendly Joomla site where the user's phone stores an offline copy.
The site will be an information base / userguide and would be updated at every new release.
I would prefer not to repack and upload a new copy of the app every time there is a change made, hence why I've decided to make a Joomla site.
You could take a JSON or XML feed from your Joomla site and then use PhoneGap to create an app which checks the feed for new items on open.