fix(core): update
This commit is contained in:
2
ts/index.ts
Normal file
2
ts/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export * from './smartsitemap.classes.smartsitemap';
|
||||
export * from './smartsitemap.classes.sitemapnews';
|
7
ts/smartsitemap.classes.sitemapnews.ts
Normal file
7
ts/smartsitemap.classes.sitemapnews.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import * as plugins from './smartsitemap.plugins';
|
||||
|
||||
export class SitemapNews {
|
||||
public readFromRssFeed() {
|
||||
|
||||
}
|
||||
}
|
14
ts/smartsitemap.classes.smartsitemap.ts
Normal file
14
ts/smartsitemap.classes.smartsitemap.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { SitemapNews } from './smartsitemap.classes.sitemapnews';
|
||||
import * as plugins from './smartsitemap.plugins';
|
||||
|
||||
export class SmartSitemap {
|
||||
constructor() {}
|
||||
|
||||
/**
|
||||
* creates a sitemap for news
|
||||
*/
|
||||
public createSmartsitemapNews(): SitemapNews {
|
||||
const sitemapNewsInstance = new SitemapNews();
|
||||
return sitemapNewsInstance;
|
||||
}
|
||||
}
|
5
ts/smartsitemap.plugins.ts
Normal file
5
ts/smartsitemap.plugins.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import * as smartxml from '@pushrocks/smartxml';
|
||||
|
||||
export {
|
||||
smartxml
|
||||
};
|
Reference in New Issue
Block a user