Skip to content

Commit

Permalink
Merge pull request #9 from artlung/NewYrNewBranch
Browse files Browse the repository at this point in the history
New Year, New Branch Branch
  • Loading branch information
artlung authored Jan 21, 2025
2 parents 1603983 + 0b80a71 commit 2502618
Show file tree
Hide file tree
Showing 155 changed files with 312 additions and 309 deletions.
304 changes: 153 additions & 151 deletions classes/Nav.php

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"test": "phpunit --bootstrap loader.php",
"sniff": "phpcs --standard=phpcs.xml *.php */*.php */*/*.php */*/*/*.php",
"snifferfix" : "phpcbf --standard=phpcs.xml *.php */*.php */*/*.php */*/*/*.php",
"updatenav": "php generate-nav-value.php"
"updatenav": "php generate-nav-value.php",
"webmentions": "php get-webmentions.php"
}
}
8 changes: 4 additions & 4 deletions get-webmentions.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
if ($count > 0) {
print "Count for $slug is " . count($webmentions) . "\n";
}
$yaml = Spyc::YAMLDump($yaml);
file_put_contents($yaml_file, $yaml);
$yaml_text = Spyc::YAMLDump($yaml);
file_put_contents($yaml_file, $yaml_text);
}


Expand All @@ -57,7 +57,7 @@
continue;
}

$yaml[\ArtlungLab\WebmentionIoGetter::WEBMENTION_LAST_CHECKED_KEY] = time();
$yaml[\ArtlungLab\WebmentionIoGetter::WEBMENTION_LAST_CHECKED_KEY] = time() ?? 0;

$yaml = Spyc::YAMLDump($yaml);

Expand All @@ -73,5 +73,5 @@
}

echo "Done. If the webmention count changed,\n";
echo "be sure to run generate-nav-value.php\n";
echo "be sure to run composer updatenav\n";
echo "and composer snifferfix\n";
2 changes: 1 addition & 1 deletion web/50states/50states.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ title: >
Snippets
tags:
- html
webmention_last_checked: 1734922957
webmention_last_checked: 1737251734
webmention_count: 1
2 changes: 1 addition & 1 deletion web/ArtLung-Notes/ArtLung-Notes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/ArtLung-Notes/
title: ArtLung Notes (Experimental, 2010)
tags:
- experimental
webmention_last_checked: 1734922957
webmention_last_checked: 1737251734
webmention_count: 0
2 changes: 1 addition & 1 deletion web/a-outline-none/a-outline-none.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ title: >
outline
tags:
- css
webmention_last_checked: 1734922957
webmention_last_checked: 1737251734
webmention_count: 1
2 changes: 1 addition & 1 deletion web/additive-font-size/additive-font-size.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: How font-size accumulates
tags:
- css
webmention_last_checked: 1734922958
webmention_last_checked: 1737251734
webmention_count: 1
2 changes: 1 addition & 1 deletion web/ancient-tidy-tutorial/ancient-tidy-tutorial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: Ancient HTML Tidy Tutorial
tags:
- html
webmention_last_checked: 1734922958
webmention_last_checked: 1737251735
webmention_count: 1
2 changes: 1 addition & 1 deletion web/anti-cache/anti-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ tags:
- coldfusion
- jsp
- php
webmention_last_checked: 1734989345
webmention_last_checked: 1737251735
webmention_count: 2
2 changes: 1 addition & 1 deletion web/asp-cdonts/asp-cdonts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/asp-cdonts/
title: 'ASP: CDONTS snippet'
tags:
- asp
webmention_last_checked: 1734922959
webmention_last_checked: 1737251735
webmention_count: 0
2 changes: 1 addition & 1 deletion web/asp-selectbox-function/asp-selectbox-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: selectBox function in Traditional ASP
tags:
- asp
webmention_last_checked: 1734922959
webmention_last_checked: 1737251736
webmention_count: 0
2 changes: 1 addition & 1 deletion web/asp/asp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/asp/
title: ASP Hello World Script
tags:
- asp
webmention_last_checked: 1734922959
webmention_last_checked: 1737251735
webmention_count: 1
2 changes: 1 addition & 1 deletion web/autocalc/autocalc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/autocalc/
title: Auto-Calculator
tags:
- experimental
webmention_last_checked: 1734922959
webmention_last_checked: 1737251736
webmention_count: 2
2 changes: 1 addition & 1 deletion web/barcampla6/barcampla6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/barcampla6/
title: jQuery Basics (barcampla6)
tags:
- javascript
webmention_last_checked: 1734922960
webmention_last_checked: 1737251736
webmention_count: 0
2 changes: 1 addition & 1 deletion web/bloggingbot/bloggingbot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
tags:
- experimental
- markovchains
webmention_last_checked: 1734922960
webmention_last_checked: 1737251736
webmention_count: 0
2 changes: 1 addition & 1 deletion web/bluedragon-net-installer/bluedragon-net-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ title: >
tags:
- coldfusion
- dotnet
webmention_last_checked: 1734922960
webmention_last_checked: 1737251737
webmention_count: 0
2 changes: 1 addition & 1 deletion web/blur/blur.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/blur/
title: CSS Blur Example
tags:
- css
webmention_last_checked: 1734922960
webmention_last_checked: 1737251737
webmention_count: 0
2 changes: 1 addition & 1 deletion web/bookmarklets/bookmarklets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ tags:
- html
- rss
- bookmarklet
webmention_last_checked: 1734922961
webmention_last_checked: 1737251737
webmention_count: 1
2 changes: 1 addition & 1 deletion web/border-style/border-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/border-style/
title: border-style Experiment
tags:
- css
webmention_last_checked: 1734922961
webmention_last_checked: 1737251737
webmention_count: 1
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
or Submit Input Value Fails
tags:
- html
webmention_last_checked: 1734922961
webmention_last_checked: 1737251738
webmention_count: 0
2 changes: 1 addition & 1 deletion web/buttonybutton/buttonybutton.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/buttonybutton/
title: Buttony Button
tags:
- css
webmention_last_checked: 1734922961
webmention_last_checked: 1737251738
webmention_count: 0
2 changes: 1 addition & 1 deletion web/buttonybuttonsonbuttons/buttonybuttonsonbuttons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: Big Buttony Buttons on Buttons
tags:
- css
webmention_last_checked: 1734922961
webmention_last_checked: 1737251738
webmention_count: 0
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ title: >
object
tags:
- vbscript
webmention_last_checked: 1734922962
webmention_last_checked: 1737251738
webmention_count: 0
2 changes: 1 addition & 1 deletion web/camel-selector/camel-selector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/camel-selector/
title: 'camelCase <-> selector-case w/o Regex'
tags:
- javascript
webmention_last_checked: 1734922962
webmention_last_checked: 1737251739
webmention_count: 1
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: Canvas HTML Render Download not working
tags:
- html
webmention_last_checked: 1734922962
webmention_last_checked: 1737251739
webmention_count: 0
2 changes: 1 addition & 1 deletion web/change-all-links/change-all-links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
something new?
tags:
- javascript
webmention_last_checked: 1734922962
webmention_last_checked: 1737251739
webmention_count: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: "What is the way to access IFrame's element using Prototype $ method?"
tags:
- javascript
webmention_last_checked: 1734922963
webmention_last_checked: 1737251739
webmention_count: 0
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ title: Change document background color
tags:
- css
- javascript
webmention_last_checked: 1734922963
webmention_last_checked: 1737251739
webmention_count: 0
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ title: Changing the spacing between paragraphs
tags:
- css
- typography
webmention_last_checked: 1734922963
webmention_last_checked: 1737251740
webmention_count: 0
2 changes: 1 addition & 1 deletion web/checkbox-validate/checkbox-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: Checkbox Validator
tags:
- javascript
webmention_last_checked: 1734922963
webmention_last_checked: 1737251740
webmention_count: 1
2 changes: 1 addition & 1 deletion web/circles-crawl/circles-crawl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ title: >
(jQuery)
tags:
- javascript
webmention_last_checked: 1734922964
webmention_last_checked: 1737251740
webmention_count: 0
2 changes: 1 addition & 1 deletion web/clock-concept/clock-concept.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ tags:
- css
- experimental
- javascript
webmention_last_checked: 1734922964
webmention_last_checked: 1737251740
webmention_count: 0
2 changes: 1 addition & 1 deletion web/coldfusion-break-db/coldfusion-break-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
Database with Cold Fusion
tags:
- coldfusion
webmention_last_checked: 1734922964
webmention_last_checked: 1737251741
webmention_count: 1
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: 'ColdFusion: Force Download of File'
tags:
- coldfusion
webmention_last_checked: 1734922964
webmention_last_checked: 1737251741
webmention_count: 0
2 changes: 1 addition & 1 deletion web/coldfusion-titlecase/coldfusion-titlecase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: ColdFusion TitleCase Function
tags:
- coldfusion
webmention_last_checked: 1734922964
webmention_last_checked: 1737251741
webmention_count: 1
2 changes: 1 addition & 1 deletion web/compare-fields/compare-fields.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/compare-fields/
title: 'Compare two fields, Submit only if they are the same:'
tags:
- javascript
webmention_last_checked: 1734922965
webmention_last_checked: 1737251741
webmention_count: 0
2 changes: 1 addition & 1 deletion web/connect-to-remote-server/connect-to-remote-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
server
tags:
- php
webmention_last_checked: 1734922965
webmention_last_checked: 1737251742
webmention_count: 0
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: Copy to Clipboard JavaScript
tags:
- javascript
webmention_last_checked: 1734922965
webmention_last_checked: 1737251742
webmention_count: 0
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
(PHP)
tags:
- php
webmention_last_checked: 1734922965
webmention_last_checked: 1737251742
webmention_count: 0
2 changes: 1 addition & 1 deletion web/countdown-to-the-first/countdown-to-the-first.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
in PHP
tags:
- php
webmention_last_checked: 1734922966
webmention_last_checked: 1737251742
webmention_count: 0
2 changes: 1 addition & 1 deletion web/countdown/countdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/countdown/
title: Super Simple Countdown in PHP.
tags:
- php
webmention_last_checked: 1734922965
webmention_last_checked: 1737251742
webmention_count: 1
2 changes: 1 addition & 1 deletion web/crossdomain/crossdomain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/crossdomain/
title: crossdomain.xml
tags:
- http
webmention_last_checked: 1734922966
webmention_last_checked: 1737251743
webmention_count: 0
2 changes: 1 addition & 1 deletion web/css3-smiley/css3-smiley.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/css3-smiley/
title: CSS3 Smiley in Color
tags:
- css
webmention_last_checked: 1734922966
webmention_last_checked: 1737251743
webmention_count: 1
2 changes: 1 addition & 1 deletion web/detagger/detagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/detagger/
title: Fun Detagger Script
tags:
- php
webmention_last_checked: 1734922967
webmention_last_checked: 1737251743
webmention_count: 1
2 changes: 1 addition & 1 deletion web/detection-real/detection-real.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ title: RealMedia Plugin Detection
tags:
- javascript
- realplayer
webmention_last_checked: 1734922967
webmention_last_checked: 1737251743
webmention_count: 0
2 changes: 1 addition & 1 deletion web/display-inline-block/display-inline-block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
small icon (2007)
tags:
- css
webmention_last_checked: 1734922967
webmention_last_checked: 1737251744
webmention_count: 0
2 changes: 1 addition & 1 deletion web/domain-name-sql-excel/domain-name-sql-excel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
email addresses
tags:
- sql
webmention_last_checked: 1734922967
webmention_last_checked: 1737251744
webmention_count: 0
2 changes: 1 addition & 1 deletion web/dropdown-focus/dropdown-focus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/dropdown-focus/
title: Setting Dropdown Focus
tags:
- javascript
webmention_last_checked: 1734922968
webmention_last_checked: 1737251744
webmention_count: 0
2 changes: 1 addition & 1 deletion web/dropdown-frames/dropdown-frames.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/dropdown-frames/
title: Dropdown Navigation in Frames
tags:
- javascript
webmention_last_checked: 1734922968
webmention_last_checked: 1737251744
webmention_count: 0
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ title: >
Links Open New Windows
tags:
- javascript
webmention_last_checked: 1734922968
webmention_last_checked: 1737251745
webmention_count: 2
2 changes: 1 addition & 1 deletion web/dropdown-submit-form/dropdown-submit-form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: dropdown-submit-form
tags:
- javascript
webmention_last_checked: 1734922968
webmention_last_checked: 1737251745
webmention_count: 0
2 changes: 1 addition & 1 deletion web/dropdown/dropdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ title: Dropdown Navigation
tags:
- html
- javascript
webmention_last_checked: 1734922967
webmention_last_checked: 1737251744
webmention_count: 2
2 changes: 1 addition & 1 deletion web/echo-http-host/echo-http-host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ canonical_url: https://lab.artlung.com/echo-http-host/
title: HTTP_HOST environment variable in PHP
tags:
- php
webmention_last_checked: 1734922969
webmention_last_checked: 1737251745
webmention_count: 0
2 changes: 1 addition & 1 deletion web/email-submission-stinks/email-submission-stinks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ canonical_url: >
title: 'Form action mailto: stinks'
tags:
- html
webmention_last_checked: 1734922969
webmention_last_checked: 1737251746
webmention_count: 1
Loading

0 comments on commit 2502618

Please sign in to comment.