diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2023-06-26 16:14:12 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-06-26 16:26:23 +0900 |
commit | 6b5b671957d80321b5d6018cde1d3a2a7ffa0847 (patch) | |
tree | 3645896f1b6d090659945d0ac4f6c86e7c7de28c | |
parent | ac735667ce21579ec319a310148afc0f5512492c (diff) | |
download | px-6b5b671957d80321b5d6018cde1d3a2a7ffa0847.tar.gz |
Begin page 9
-rw-r--r-- | 08/barnacles.jpg | bin | 0 -> 5469051 bytes | |||
-rw-r--r-- | 08/index.xml | 7 | ||||
-rw-r--r-- | 08/moss.jpg | bin | 0 -> 4263025 bytes | |||
-rw-r--r-- | 09/bees.jpg | bin | 0 -> 4381178 bytes | |||
-rw-r--r-- | 09/bird-on-post.jpg | bin | 0 -> 2106176 bytes | |||
-rw-r--r-- | 09/index.xml | 15 | ||||
-rw-r--r-- | 09/painted-lady.jpg | bin | 0 -> 4916418 bytes | |||
-rw-r--r-- | 09/power-pole.jpg | bin | 0 -> 11470144 bytes | |||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | atom.xslt | 3 | ||||
-rw-r--r-- | favicon.png | bin | 256 -> 0 bytes | |||
-rw-r--r-- | favicon.svg | 3 | ||||
-rw-r--r-- | page.xslt | 2 |
13 files changed, 30 insertions, 6 deletions
diff --git a/08/barnacles.jpg b/08/barnacles.jpg new file mode 100644 index 0000000..87e6af9 --- /dev/null +++ b/08/barnacles.jpg Binary files differdiff --git a/08/index.xml b/08/index.xml index 46f0649..81cb7ab 100644 --- a/08/index.xml +++ b/08/index.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="/page.xslt" type="text/xsl"?> -<page prev="07" curr="08"> +<page prev="07" curr="08" next="09"> <post title="two bees or not two bees" lang="en"> <picture filename="bee" desc="one bee"/> <picture filename="bees-1" desc="two bees"/> @@ -22,5 +22,10 @@ <picture filename="stairs-grass" desc="edenic stairs covered with grass"/> <time>2023-04-28T07:13:38Z</time> </post> + <post title="hydro homies" lang="en"> + <picture filename="barnacles" desc="barnacles on rocks and bridge columns"/> + <picture filename="moss" desc="moss on rocks in a brook"/> + <time>2023-05-09T09:25:18Z</time> + </post> <year>2023</year> </page> diff --git a/08/moss.jpg b/08/moss.jpg new file mode 100644 index 0000000..653ba10 --- /dev/null +++ b/08/moss.jpg Binary files differdiff --git a/09/bees.jpg b/09/bees.jpg new file mode 100644 index 0000000..7c3c5ad --- /dev/null +++ b/09/bees.jpg Binary files differdiff --git a/09/bird-on-post.jpg b/09/bird-on-post.jpg new file mode 100644 index 0000000..f53a571 --- /dev/null +++ b/09/bird-on-post.jpg Binary files differdiff --git a/09/index.xml b/09/index.xml new file mode 100644 index 0000000..1ac2021 --- /dev/null +++ b/09/index.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="/page.xslt" type="text/xsl"?> +<page prev="08" curr="09"> + <post title="bipolar" lang="en"> + <picture filename="bird-on-post" desc="bird sitting on a light pole"/> + <picture filename="power-pole" desc="dead vine around a power pole"/> + <time>2023-06-08T09:55:07Z</time> + </post> + <post title="ong bướm" lang="vi"> + <picture filename="painted-lady" desc="cynthia hút mật cúc dại"/> + <picture filename="bees" desc="ong và ruồi cùng thụ phấn cho hoa"/> + <time>2023-06-24T01:42:27Z</time> + </post> + <year>2023</year> +</page> diff --git a/09/painted-lady.jpg b/09/painted-lady.jpg new file mode 100644 index 0000000..8c6a2ca --- /dev/null +++ b/09/painted-lady.jpg Binary files differdiff --git a/09/power-pole.jpg b/09/power-pole.jpg new file mode 100644 index 0000000..07e19e8 --- /dev/null +++ b/09/power-pole.jpg Binary files differdiff --git a/Makefile b/Makefile index 035b8ca..4f37502 100644 --- a/Makefile +++ b/Makefile @@ -11,20 +11,20 @@ THUMBNAILS := $(patsubst %.jpg,%.small.jpg,$(PICTURES)) DATA := $(wildcard */index.xml) index.xml PAGES := $(patsubst %.xml,%.xhtml,$(DATA)) OUTPUTS := $(THUMBNAILS) $(PAGES) atom.xml -ALL := $(OUTPUTS) $(PICTURES) favicon.png style.css +ALL := $(OUTPUTS) $(PICTURES) favicon.svg style.css all: $(OUTPUTS) %.small.jpg: %.jpg epeg -w 1024 -p -q 80 $< $@ -index.xml: 08/index.xml +index.xml: 09/index.xml ln -fs $< $@ %.xhtml: %.xml page.xslt xsltproc page.xslt $< > $@ -atom.xml: atom.xslt $(DATA) $(wildcard *.svg) +atom.xml: atom.xslt $(DATA) cc.svg by.svg sa.svg xsltproc atom.xslt > atom.xml clean: diff --git a/atom.xslt b/atom.xslt index cb81ca8..08656cb 100644 --- a/atom.xslt +++ b/atom.xslt @@ -47,7 +47,7 @@ <email>mcsinyx@disroot.org</email> </author> <rights>CC BY-SA 4.0</rights> - <updated>2023-04-28T07:13:38Z</updated> + <updated>2023-06-24T01:42:27Z</updated> <xsl:apply-templates select="document('00/index.xml')/page"/> <xsl:apply-templates select="document('01/index.xml')/page"/> <xsl:apply-templates select="document('02/index.xml')/page"/> @@ -57,6 +57,7 @@ <xsl:apply-templates select="document('06/index.xml')/page"/> <xsl:apply-templates select="document('07/index.xml')/page"/> <xsl:apply-templates select="document('08/index.xml')/page"/> + <xsl:apply-templates select="document('09/index.xml')/page"/> </feed> </xsl:template> </xsl:stylesheet> diff --git a/favicon.png b/favicon.png deleted file mode 100644 index 54d0b0d..0000000 --- a/favicon.png +++ /dev/null Binary files differdiff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..5c88657 --- /dev/null +++ b/favicon.svg @@ -0,0 +1,3 @@ +<svg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'> + <circle cx='256' cy='256' r='256' fill='#436e58'/> +</svg> diff --git a/page.xslt b/page.xslt index f2f0f25..fe7eec6 100644 --- a/page.xslt +++ b/page.xslt @@ -8,7 +8,7 @@ <meta name="viewport" content="width=device-width,initial-scale=1.0"/> <meta name="color-scheme" content="dark light"/> <link rel="alternate" type="application/atom+xml" href="/atom.xml"/> - <link rel="icon" href="/favicon.png"/> + <link rel="icon" href="/favicon.svg"/> <link rel="stylesheet" href="/style.css"/> <title>pix by cnx</title> </head> |