@oktis-works/web 0.13.3 → 0.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +122 -0
- package/dist/index.js +229 -2
- package/dist/index.js.map +1 -1
- package/dist/jsonld.d.ts +47 -0
- package/dist/jsonld.d.ts.map +1 -0
- package/dist/jsonld.js +141 -0
- package/dist/jsonld.js.map +1 -0
- package/dist/rendering.d.ts +10 -0
- package/dist/rendering.d.ts.map +1 -1
- package/dist/rendering.js +98 -7
- package/dist/rendering.js.map +1 -1
- package/dist/rss.d.ts +34 -0
- package/dist/rss.d.ts.map +1 -0
- package/dist/rss.js +113 -0
- package/dist/rss.js.map +1 -0
- package/dist/url-helpers.d.ts +30 -0
- package/dist/url-helpers.d.ts.map +1 -0
- package/dist/url-helpers.js +51 -0
- package/dist/url-helpers.js.map +1 -0
- package/package.json +9 -9
package/dist/rss.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// @oktis-works/web - RSS/Atom feed generation
|
|
2
|
+
// Generates RSS 2.0 and Atom 1.0 feeds for hub pages
|
|
3
|
+
/**
|
|
4
|
+
* Escapes XML special characters.
|
|
5
|
+
*/
|
|
6
|
+
function escapeXml(str) {
|
|
7
|
+
return str
|
|
8
|
+
.replace(/&/g, '&')
|
|
9
|
+
.replace(/</g, '<')
|
|
10
|
+
.replace(/>/g, '>')
|
|
11
|
+
.replace(/"/g, '"')
|
|
12
|
+
.replace(/'/g, ''');
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Builds the full canonical URL for a feed item.
|
|
16
|
+
*/
|
|
17
|
+
function buildFeedItemUrl(context, item) {
|
|
18
|
+
// For now, use simple slug. Parent chain would require additional lookup.
|
|
19
|
+
return new URL(`/${context.hubBase}/${item['slug']}`, context.siteUrl).toString();
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Generates RSS 2.0 feed XML.
|
|
23
|
+
*/
|
|
24
|
+
export function generateRssFeed(context) {
|
|
25
|
+
const siteUrl = context.siteUrl.replace(/\/$/, '');
|
|
26
|
+
const feedUrl = new URL(context.feedUrl, siteUrl).toString();
|
|
27
|
+
const itemsXml = context.items
|
|
28
|
+
.map((item) => {
|
|
29
|
+
const itemUrl = buildFeedItemUrl(context, item);
|
|
30
|
+
const title = escapeXml(item['title'] ?? '');
|
|
31
|
+
const description = escapeXml(item['excerpt'] ?? '');
|
|
32
|
+
const pubDate = item['published_at']
|
|
33
|
+
? new Date(item['published_at']).toUTCString()
|
|
34
|
+
: new Date().toUTCString();
|
|
35
|
+
const guid = itemUrl;
|
|
36
|
+
return `
|
|
37
|
+
<item>
|
|
38
|
+
<title>${title}</title>
|
|
39
|
+
<link>${itemUrl}</link>
|
|
40
|
+
<description>${description}</description>
|
|
41
|
+
<pubDate>${pubDate}</pubDate>
|
|
42
|
+
<guid isPermaLink="true">${guid}</guid>
|
|
43
|
+
</item>`;
|
|
44
|
+
})
|
|
45
|
+
.join('');
|
|
46
|
+
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
47
|
+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
48
|
+
<channel>
|
|
49
|
+
<title>${escapeXml(context.hubTitle)}</title>
|
|
50
|
+
<link>${new URL(`/${context.hubBase}/`, context.siteUrl).toString()}</link>
|
|
51
|
+
<description>${escapeXml(context.hubDescription ?? context.siteName)}</description>
|
|
52
|
+
<language>pt-BR</language>
|
|
53
|
+
<atom:link href="${feedUrl}" rel="self" type="application/rss+xml" />
|
|
54
|
+
<lastBuildDate>${new Date().toUTCString()}</lastBuildDate>
|
|
55
|
+
<generator>OkCMS</generator>
|
|
56
|
+
${itemsXml}
|
|
57
|
+
</channel>
|
|
58
|
+
</rss>`;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Generates Atom 1.0 feed XML.
|
|
62
|
+
*/
|
|
63
|
+
export function generateAtomFeed(context) {
|
|
64
|
+
const siteUrl = context.siteUrl.replace(/\/$/, '');
|
|
65
|
+
const feedUrl = new URL(context.feedUrl, siteUrl).toString();
|
|
66
|
+
const hubUrl = new URL(`/${context.hubBase}/`, siteUrl).toString();
|
|
67
|
+
const entriesXml = context.items
|
|
68
|
+
.map((item) => {
|
|
69
|
+
const itemUrl = buildFeedItemUrl(context, item);
|
|
70
|
+
const _title = escapeXml(item['title'] ?? ''); // used in template
|
|
71
|
+
const _content = escapeXml(item['excerpt'] ?? ''); // reserved for future use
|
|
72
|
+
const updated = item['updated_at']
|
|
73
|
+
? new Date(item['updated_at']).toISOString()
|
|
74
|
+
: new Date().toISOString();
|
|
75
|
+
const published = item['published_at']
|
|
76
|
+
? new Date(item['published_at']).toISOString()
|
|
77
|
+
: updated;
|
|
78
|
+
return `
|
|
79
|
+
<entry>
|
|
80
|
+
<title>${escapeXml(item['title'] ?? '')}</title>
|
|
81
|
+
<link href="${itemUrl}" rel="alternate" type="text/html" />
|
|
82
|
+
<id>${itemUrl}</id>
|
|
83
|
+
<updated>${updated}</updated>
|
|
84
|
+
<published>${published}</published>
|
|
85
|
+
<summary type="html">${escapeXml(item['excerpt'] ?? '')}</summary>
|
|
86
|
+
<author>
|
|
87
|
+
<name>${escapeXml(item['author']?.['name'] ?? 'Unknown')}</name>
|
|
88
|
+
</author>
|
|
89
|
+
</entry>`;
|
|
90
|
+
})
|
|
91
|
+
.join('');
|
|
92
|
+
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
93
|
+
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
94
|
+
<title>${escapeXml(context.hubTitle)}</title>
|
|
95
|
+
<subtitle>${escapeXml(context.hubDescription ?? context.siteName)}</subtitle>
|
|
96
|
+
<link href="${hubUrl}" rel="alternate" type="text/html" />
|
|
97
|
+
<link href="${feedUrl}" rel="self" type="application/atom+xml" />
|
|
98
|
+
<id>${hubUrl}</id>
|
|
99
|
+
<updated>${new Date().toISOString()}</updated>
|
|
100
|
+
<generator uri="https://okcms.dev" version="1.0">OkCMS</generator>
|
|
101
|
+
${entriesXml}
|
|
102
|
+
</feed>`;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns both RSS and Atom feeds for a hub.
|
|
106
|
+
*/
|
|
107
|
+
export function generateFeeds(context) {
|
|
108
|
+
return {
|
|
109
|
+
rss: generateRssFeed(context),
|
|
110
|
+
atom: generateAtomFeed(context),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=rss.js.map
|
package/dist/rss.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rss.js","sourceRoot":"","sources":["../src/rss.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,qDAAqD;AAqBrD;;GAEG;AACH,SAAS,SAAS,CAAC,GAAW;IAC5B,OAAO,GAAG;SACP,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;SAClB,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;SAClB,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;SAClB,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;SAClB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC7B,CAAC;AAED;;GAEG;AACH,SAAS,gBAAgB,CAAC,OAAoB,EAAE,IAA6B;IAC3E,0EAA0E;IAC1E,OAAO,IAAI,GAAG,CAAC,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAW,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC;AAC9F,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,OAAoB;IAClD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACnD,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC;IAE7D,MAAM,QAAQ,GAAG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ACxB,SAAS,CAAC,OAAO,CAAC,cAAc,IAAI,OAAO,CAAC,QAAQ,CAAC;gBACnD,MAAM;gBACN,OAAO;QACf,MAAM;aACD,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;;EAEnC,UAAU;QACJ,CAAC;AACT,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,OAAoB;IAChD,OAAO;QACL,GAAG,EAAE,eAAe,CAAC,OAAO,CAAC;QAC7B,IAAI,EAAE,gBAAgB,CAAC,OAAO,CAAC;KAChC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds the full canonical URL path for a content item under its hub base.
|
|
3
|
+
* @param item - Content row (must have `slug` and optionally `parent_id` chain resolved)
|
|
4
|
+
* @param hubBase - The hub page slug (e.g., 'blog', 'projects')
|
|
5
|
+
* @param parentChain - Optional pre-computed parent slug chain (root to immediate parent)
|
|
6
|
+
* @returns Full path starting with `/` (e.g., '/projects/cliente-a/projeto-1')
|
|
7
|
+
*/
|
|
8
|
+
export declare function buildItemUrl(item: {
|
|
9
|
+
slug: string;
|
|
10
|
+
}, hubBase: string, parentChain?: string[]): string;
|
|
11
|
+
/**
|
|
12
|
+
* Builds the hub listing page URL (the archive for a content type).
|
|
13
|
+
* @param base - The hub page slug (e.g., 'blog', 'projects')
|
|
14
|
+
* @returns Path with trailing slash (e.g., '/blog/')
|
|
15
|
+
*/
|
|
16
|
+
export declare function _buildHubUrl(base: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* Builds the RSS/Atom feed URL for a hub base.
|
|
19
|
+
* @param base - The hub page slug
|
|
20
|
+
* @returns Feed path (e.g., '/blog/feed')
|
|
21
|
+
*/
|
|
22
|
+
export declare function buildFeedUrl(base: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* Extracts the parent chain slugs from a content record that has parent_id populated.
|
|
25
|
+
* Walks up the parent chain and returns slugs from root to immediate parent.
|
|
26
|
+
* @param record - Content record with parent_id (and joined parent data if available)
|
|
27
|
+
* @returns Array of parent slugs from root to immediate parent
|
|
28
|
+
*/
|
|
29
|
+
export declare function extractParentChain(record: Record<string, unknown>): string[];
|
|
30
|
+
//# sourceMappingURL=url-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-helpers.d.ts","sourceRoot":"","sources":["../src/url-helpers.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EACtB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,MAAM,EAAE,GACrB,MAAM,CAGR;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,EAAE,CAgB5E"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// @oktis-works/web - Shared URL helpers for canonical paths, sitemap, JSON-LD, RSS
|
|
2
|
+
// Single source of truth for building URLs from content items and hub bases.
|
|
3
|
+
/**
|
|
4
|
+
* Builds the full canonical URL path for a content item under its hub base.
|
|
5
|
+
* @param item - Content row (must have `slug` and optionally `parent_id` chain resolved)
|
|
6
|
+
* @param hubBase - The hub page slug (e.g., 'blog', 'projects')
|
|
7
|
+
* @param parentChain - Optional pre-computed parent slug chain (root to immediate parent)
|
|
8
|
+
* @returns Full path starting with `/` (e.g., '/projects/cliente-a/projeto-1')
|
|
9
|
+
*/
|
|
10
|
+
export function buildItemUrl(item, hubBase, parentChain) {
|
|
11
|
+
const pathSegments = parentChain?.length ? [...parentChain, item.slug] : [item.slug];
|
|
12
|
+
return `/${hubBase}/${pathSegments.join('/')}`;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Builds the hub listing page URL (the archive for a content type).
|
|
16
|
+
* @param base - The hub page slug (e.g., 'blog', 'projects')
|
|
17
|
+
* @returns Path with trailing slash (e.g., '/blog/')
|
|
18
|
+
*/
|
|
19
|
+
export function _buildHubUrl(base) {
|
|
20
|
+
return `/${base}/`;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Builds the RSS/Atom feed URL for a hub base.
|
|
24
|
+
* @param base - The hub page slug
|
|
25
|
+
* @returns Feed path (e.g., '/blog/feed')
|
|
26
|
+
*/
|
|
27
|
+
export function buildFeedUrl(base) {
|
|
28
|
+
return `/${base}/feed`;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Extracts the parent chain slugs from a content record that has parent_id populated.
|
|
32
|
+
* Walks up the parent chain and returns slugs from root to immediate parent.
|
|
33
|
+
* @param record - Content record with parent_id (and joined parent data if available)
|
|
34
|
+
* @returns Array of parent slugs from root to immediate parent
|
|
35
|
+
*/
|
|
36
|
+
export function extractParentChain(record) {
|
|
37
|
+
const chain = [];
|
|
38
|
+
let current = record;
|
|
39
|
+
// If the record has a parent chain pre-loaded (e.g., via recursive CTE or batch fetch)
|
|
40
|
+
// we can extract it. For now, this is a placeholder for when parent data is embedded.
|
|
41
|
+
// The router does walk-up via findParent, so this may not be needed in all contexts.
|
|
42
|
+
while (current && current.parent) {
|
|
43
|
+
const parent = current.parent;
|
|
44
|
+
if (parent?.slug) {
|
|
45
|
+
chain.unshift(parent.slug);
|
|
46
|
+
}
|
|
47
|
+
current = parent;
|
|
48
|
+
}
|
|
49
|
+
return chain;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=url-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-helpers.js","sourceRoot":"","sources":["../src/url-helpers.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,6EAA6E;AAE7E;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAC1B,IAAsB,EACtB,OAAe,EACf,WAAsB;IAEtB,MAAM,YAAY,GAAG,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrF,OAAO,IAAI,OAAO,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY;IACvC,OAAO,IAAI,IAAI,GAAG,CAAC;AACrB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY;IACvC,OAAO,IAAI,IAAI,OAAO,CAAC;AACzB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAA+B;IAChE,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,IAAI,OAAO,GAAG,MAAM,CAAC;IAErB,uFAAuF;IACvF,sFAAsF;IACtF,qFAAqF;IACrF,OAAO,OAAO,IAAK,OAAe,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAI,OAAe,CAAC,MAAM,CAAC;QACvC,IAAI,MAAM,EAAE,IAAI,EAAE,CAAC;YACjB,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC7B,CAAC;QACD,OAAO,GAAG,MAAM,CAAC;IACnB,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oktis-works/web",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
"clean": "rm -rf dist tsconfig.tsbuildinfo"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@oktis-works/core": "^0.
|
|
22
|
-
"@oktis-works/config": "^0.6.
|
|
23
|
-
"@oktis-works/database": "^0.
|
|
24
|
-
"@oktis-works/types": "^0.
|
|
25
|
-
"@oktis-works/theme-sdk": "^0.
|
|
26
|
-
"@oktis-works/theme-runtime": "^0.
|
|
27
|
-
"@oktis-works/validation": "^0.8.
|
|
21
|
+
"@oktis-works/core": "^0.16.0",
|
|
22
|
+
"@oktis-works/config": "^0.6.6",
|
|
23
|
+
"@oktis-works/database": "^0.15.0",
|
|
24
|
+
"@oktis-works/types": "^0.10.0",
|
|
25
|
+
"@oktis-works/theme-sdk": "^0.8.0",
|
|
26
|
+
"@oktis-works/theme-runtime": "^0.12.0",
|
|
27
|
+
"@oktis-works/validation": "^0.8.2",
|
|
28
28
|
"hono": "4.13.12",
|
|
29
29
|
"@hono/node-server": "1.8.0",
|
|
30
|
-
"@oktis-works/plugin-runtime": "^0.
|
|
30
|
+
"@oktis-works/plugin-runtime": "^0.8.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "5.7.3",
|