<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://opensource.glasgow.social/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://opensource.glasgow.social/feed.php">
        <title>Open Source Glasgow coding</title>
        <description></description>
        <link>https://opensource.glasgow.social/</link>
        <image rdf:resource="https://opensource.glasgow.social/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-20T08:38:44+0100</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/app_ideas?rev=1687742996&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/basic_form?rev=1687742555&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/editing_files?rev=1687742546&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/getting_started?rev=1687742483&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/getting_started_part_2?rev=1687742522&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/getting_started_part_3?rev=1687742538&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/getting_started_part_6?rev=1687742575&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/glasgow_datasets?rev=1687743030&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/hello_world?rev=1687745381&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/members?rev=1687742384&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/mobile_home_page?rev=1687743007&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/setting_up_ec2?rev=1687742499&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/teaching_links?rev=1687743049&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/the_quiz_app?rev=1687743019&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/the_quiz_app_v2?rev=1687745473&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/troubleshooting?rev=1687743347&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/what_year?rev=1743028757&amp;do=diff"/>
                <rdf:li rdf:resource="https://opensource.glasgow.social/coding/working_with_rss?rev=1687745496&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://opensource.glasgow.social/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Open Source Glasgow</title>
        <link>https://opensource.glasgow.social/</link>
        <url>https://opensource.glasgow.social/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://opensource.glasgow.social/coding/app_ideas?rev=1687742996&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:29:56+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:app_ideas</title>
        <link>https://opensource.glasgow.social/coding/app_ideas?rev=1687742996&amp;do=diff</link>
        <description>Suggestions for apps that might be a good fit for new developers:

	*  Mobile Home Page
	*  The Quiz App
	*  Glasgow datasets</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/basic_form?rev=1687742555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:22:35+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:basic_form</title>
        <link>https://opensource.glasgow.social/coding/basic_form?rev=1687742555&amp;do=diff</link>
        <description>*  Back to Getting Started Overview
	*  (previous) Getting Started Part 4: Editing files

Getting Started Part 5: Basic HTML Form

Creating a basic HTML form

Create a new file on your server called form.php and enter this code.  Visit it in your browser and see the result.


&lt;form method='post' action=''&gt;
&lt;input type='text' name='search_keyword'&gt;
&lt;input type='submit' name='search_button' value='Search'&gt;
&lt;/form&gt;</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/editing_files?rev=1687742546&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:22:26+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:editing_files</title>
        <link>https://opensource.glasgow.social/coding/editing_files?rev=1687742546&amp;do=diff</link>
        <description>*  Back to Getting Started Overview
	*  (previous) Getting Started Part 3: Hello World

Getting Started Part 4: Editing Files

How to edit files on a remote server (i.e. on your Amazon EC2 instance):

Windows

Download Notepad++ from &lt;https://notepad-plus-plus.org/download/&gt; (alternative download link)

Once installed, click Plugins-&gt;Plugins Admin and search for NppFTP, tick the checkbox then click</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/getting_started?rev=1687742483&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:21:23+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:getting_started</title>
        <link>https://opensource.glasgow.social/coding/getting_started?rev=1687742483&amp;do=diff</link>
        <description>Getting Started: Welcome!

Guides

	*  1) Getting Started Part 1: Setting up an Amazon EC2 instance (how to use AWS to create an EC2 instance)
	*  2) Getting Started Part 2: Setting up - How to set up your webserver and database as well as PHP and Adminer
	*  3) Getting Started Part 3: Hello World - Your first hello world program (and how to set file permissions and create your first file)</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/getting_started_part_2?rev=1687742522&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:22:02+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:getting_started_part_2</title>
        <link>https://opensource.glasgow.social/coding/getting_started_part_2?rev=1687742522&amp;do=diff</link>
        <description>*  Back to Getting Started overview
	*  (previous) Getting Started Part 1: Setting up EC2

Getting Started Part 2: Installing Web/DB/PHP

	*  Now we'll install the web server (Apache), the database (MySQL) and PHP:
sudo apt update
sudo apt install apache2 php php-mysql mysql-server
	*  Connect to the database as the root (admin) user:</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/getting_started_part_3?rev=1687742538&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:22:18+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:getting_started_part_3</title>
        <link>https://opensource.glasgow.social/coding/getting_started_part_3?rev=1687742538&amp;do=diff</link>
        <description>*  Back to Getting Started overview
	*  (previous) Getting Started Part 2: Installing Web/DB/PHP

Getting Started Part 3: Hello World

Your first Hello World program

Setting permissions

First, we need to give our current user (ubuntu) permission to edit files on the webserver, then we change to the web directory and move the old index.html file out of the way:</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/getting_started_part_6?rev=1687742575&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:22:55+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:getting_started_part_6</title>
        <link>https://opensource.glasgow.social/coding/getting_started_part_6?rev=1687742575&amp;do=diff</link>
        <description>*  Back to Getting Started
	*  (previous) Getting Started Part 5: Basic form

Getting Started Part 6

What To Do Next

Got your server all set up and you're able to create files and view them in your browser?

No Visit the Getting Started page and work through the list (or ask someone and we'll help you through it)

Yes Great!  Let's look at what we could do next.</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/glasgow_datasets?rev=1687743030&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:30:30+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:glasgow_datasets</title>
        <link>https://opensource.glasgow.social/coding/glasgow_datasets?rev=1687743030&amp;do=diff</link>
        <description>Dataset Resources

Build apps around datasets provided by third parties.  Lots of interesting data to use (e.g. census, council information etc): &lt;https://data.glasgow.gov.uk/dataset&gt;

Tool to visualise JSON: &lt;https://json.pizza/&gt;

Ready to use

Live air quality

	*  &lt;https://uk-air.defra.gov.uk/sos-ukair/static/doc/api-doc/&gt;
	*  &lt;https://uk-air.defra.gov.uk/sos-ukair/api/v1/stations?crs=27700&amp;near=%7B+%22center%22%3A+%7B+%22type%22%3A+%22Point%22%2C++%22coordinates%22%3A+%5B255000%2C660000%5D+%…</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/hello_world?rev=1687745381&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T03:09:41+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:hello_world</title>
        <link>https://opensource.glasgow.social/coding/hello_world?rev=1687745381&amp;do=diff</link>
        <description>Your first Hello World program

Setting permissions

First, we need to give our current user (ubuntu) permission to edit files on the webserver, then we change to the web directory and move the old index.html file out of the way:


sudo chown ubuntu:ubuntu /var/www/html/
cd /var/www/html/
mv index.html old.html</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/members?rev=1687742384&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:19:44+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:members</title>
        <link>https://opensource.glasgow.social/coding/members?rev=1687742384&amp;do=diff</link>
        <description>A list of our member profiles in case you want to keep in touch or follow up on a discussion:

	*  Adam
	*  A.B. YOUNIS
	*  Andreea
	*  Angelina Blyth
	*  Ashir (Organiser)
	*  Ben Ross
	*  Cédric Chantreau
	*  Chris Cavani
	*  David Taylor
	*  Gareth King
	*  Gordon Mckerrell
	*  Hammy
	*  John Carlin
	*  Jude Nelson
	*  Kamil Tomzik
	*  Kevin
	*  Ed
	*  Steven
	*  Meriem
	*  Neil McKillop (Event Organiser)
	*  Rasika Purohit
	*  Ross M (Assistant Organiser)</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/mobile_home_page?rev=1687743007&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:30:07+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:mobile_home_page</title>
        <link>https://opensource.glasgow.social/coding/mobile_home_page?rev=1687743007&amp;do=diff</link>
        <description>Personal Homepage for your mobile device

This is designed to teach basic elements of HTML.

Let's create a file called homepage.php and enter the framework for a very simple HTML page:


&lt;!doctype html&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
  &lt;meta charset=&quot;utf-8&quot;&gt;

  &lt;title&gt;My Personal Homepage&lt;/title&gt;
  &lt;meta name=&quot;description&quot; content=&quot;Some links and information I'd like to see on my mobile at a glance&quot;&gt;
  &lt;meta name=&quot;author&quot; content=&quot;@neil@mckillop.org&quot;&gt;

&lt;/head&gt;

&lt;body&gt;

  &lt;h1&gt;My Mobile Home Page&lt;/h1&gt;
…</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/setting_up_ec2?rev=1687742499&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:21:39+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:setting_up_ec2</title>
        <link>https://opensource.glasgow.social/coding/setting_up_ec2?rev=1687742499&amp;do=diff</link>
        <description>*  Back to Getting Started

Getting Started Part 1: Amazon EC2

Setting up your Amazon EC2 instance

Visit Amazon Web Services and create an account &lt;https://aws.amazon.com/&gt; You will have to put credit card details in, but you won't be charged for your first year if you select a product in the free tier (the free tier has an adequate server for what we'll need, just don't create a second one).</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/teaching_links?rev=1687743049&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:30:49+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:teaching_links</title>
        <link>https://opensource.glasgow.social/coding/teaching_links?rev=1687743049&amp;do=diff</link>
        <description>*  Passwords and databases</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/the_quiz_app?rev=1687743019&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:30:19+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:the_quiz_app</title>
        <link>https://opensource.glasgow.social/coding/the_quiz_app?rev=1687743019&amp;do=diff</link>
        <description>The Quiz App

A basic quiz app in PHP that teaches beginners the basics of HTML forms, database access, arrays and JSON.

Questions

First, the questions.  Create a file called questions.php and enter something like this:



&lt;?php

$questions[0]['question'] = &quot;What was originally considered to be the ninth planet from the Sun but after 1992 had its status as a large planet changed?&quot;;
$questions[0]['answer'] = &quot;Pluto&quot;;

$questions[1]['question'] = &quot;How many days are there in February in a leap ye…</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/the_quiz_app_v2?rev=1687745473&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T03:11:13+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:the_quiz_app_v2</title>
        <link>https://opensource.glasgow.social/coding/the_quiz_app_v2?rev=1687745473&amp;do=diff</link>
        <description>The Quiz App Version 2

At this point, you should have a basic, working quiz that is pulling questions from a database. If not, take a look at The Quiz App to get started.

This is what your code should look like before we get started, make sure you understand each line (and that it works).  Look at the Troubleshooting section below if you run into problems.</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/troubleshooting?rev=1687743347&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T02:35:47+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:troubleshooting</title>
        <link>https://opensource.glasgow.social/coding/troubleshooting?rev=1687743347&amp;do=diff</link>
        <description>Troubleshooting

----------

Can't login to Adminer

This might have stemmed from a typo in the original instructions (the quotes were messed up after a copy/paste). 
 These steps should help resolve it:

	*  Log into mysql from the EC2 terminal:

sudo mysql -u root</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/what_year?rev=1743028757&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-26T22:39:17+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:what_year</title>
        <link>https://opensource.glasgow.social/coding/what_year?rev=1743028757&amp;do=diff</link>
        <description>What Year?

Someone in passing mentioned they had a project that could tell them the year of a vintage gig poster - I'd already built something into a bot to answer something similar when I was working on an events project, if I saw a poster in a bar and wondered if it was upcoming or not, I could ask</description>
    </item>
    <item rdf:about="https://opensource.glasgow.social/coding/working_with_rss?rev=1687745496&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-06-26T03:11:36+0100</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>coding:working_with_rss</title>
        <link>https://opensource.glasgow.social/coding/working_with_rss?rev=1687745496&amp;do=diff</link>
        <description>Working with RSS

Let's take a look at the Fediverse feed for the hashtag we're using for the coding meetup:

&lt;https://glasgow.social/tags/coding&gt;

This is formatted for a web browser.  If we look at the source then we can see a line in the HTML that specifies how to access the data in format that can be used by programs (</description>
    </item>
</rdf:RDF>
