{"id":18257939,"url":"https://github.com/linkdd/plstblog","last_synced_at":"2025-04-11T21:22:26.245Z","repository":{"id":136499449,"uuid":"1756127","full_name":"linkdd/plstblog","owner":"linkdd","description":"Staitc blog generator written in Perl","archived":false,"fork":false,"pushed_at":"2012-04-05T14:56:53.000Z","size":118,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T17:21:18.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linkdd.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-16T16:02:25.000Z","updated_at":"2023-05-22T08:54:11.000Z","dependencies_parsed_at":"2023-03-13T11:01:06.103Z","dependency_job_id":null,"html_url":"https://github.com/linkdd/plstblog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Fplstblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Fplstblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Fplstblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkdd%2Fplstblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkdd","download_url":"https://codeload.github.com/linkdd/plstblog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480697,"owners_count":21110998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T10:28:15.848Z","updated_at":"2025-04-11T21:22:26.220Z","avatar_url":"https://github.com/linkdd.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"plstblog is a static blog generator written in Perl.\nIt is released under the BSD license.\n\nAuthor: David Delassus \u003cdavid.jose.delassus@gmail.com\u003e\n\n## REQUIREMENT\n\n* XML::RSS\n* Markdown :\n  * Digest::MD5\n\n## USAGE\n\n     $ perl generate.pl [config file]\n\n## CONFIGURATION\n\nThe configuration is pretty simple :\n\n     blogurl=http://example.com/blog\n     datefmt=%T %D\n     localpath=/path/to/your/blog\n     localposts=/path/to/your/articles/\n\n     tmpl.top=/path/to/your/header.template\n     tmpl.bot=/path/to/your/footer.template\n\n     tmpl.idx.top=/path/to/your/index/header.template\n     tmpl.idx.bot=/path/to/your/index/footer.template\n\nThe configuration is save in : `$HOME/.plstblog.conf` or `./plstblog.conf`.\n\n### RSS 2.0\n\nIf you want generate a RSS 2.0 summary, just add this to your conf :\n\n     rss=yes\n     rss.title=Your RSS title\n     rss.link=http://example.com/\n     rss.lang=en\n     rss.description=Example of RSS summary\n     rss.author=author@example.com\n\n### Templates\n\nThe templates are just HTML files with some special variables which are replaced by the generator.\n\nFor all templates, variables are :\n\n* `{%rsslink%}` : Link to the RSS feeds (to put in `\u003chead\u003e\u003c/head\u003e`).\n* `{%rssicon%}` : Link to the RSS feeds (to put in `\u003cbody\u003e\u003c/body\u003e`).\n\nFor articles templates, variables are :\n\n* `{%title%}` : Article's title.\n* `{%idx%}` : Index of the article.\n* `{%ohidden}` : If there is no previous article, its value is : `hidden` (can be added in a `class=` attribute).\n* `{%nhidden}` : Same as above but for next article.\n* `{%otitle%}` : Title of the previous article.\n* `{%oidx%}` : Index of the previous article.\n* `{%ntitle%}` : Title of the next article.\n* `{%nidx%}` : Index of the next article.\n\n\nExemple of generated index :\n\n     \u003ctable id=\"plstblog_index\"\u003e\n          \u003cthead\u003e\u003ctr\u003e\u003cth class=\"title\"\u003eTitle\u003c/th\u003e\u003cth class=\"lastedit\"\u003eLast edition\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\n          \u003ctbody\u003e\n               \u003ctr\u003e\u003ctd class=\"link\"\u003e\u003ca href=\"@blogurl@/post/{%idx%}.html\"\u003e{%title%}\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"lastedit\"\u003e@date according to datefmt@\u003c/td\u003e\u003c/tr\u003e\n               ...\n          \u003c/tbody\u003e\n     \u003c/table\u003e\n\n## Writing articles\n\nArticles are written in *Markdown* syntax, put all of them into the folder `localposts` defined in your config file.\nThe filename must be named `\u003cidx\u003e.\u003ctitle\u003e.markdown`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkdd%2Fplstblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkdd%2Fplstblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkdd%2Fplstblog/lists"}