Commit Graph

8 Commits

Author SHA1 Message Date
Konstantina Galouni 0b53cea58a [Library | new-theme]: Allow also ?pid url parameter in datasource landing | Fixes in newSearchPage for service filters.
1. dataProvider.component.ts: [Bug fix] Allow also ?pid url parameter, query accordingly and set canonicalUrl to use it in seoService and scema2jsonld.
2. dataProvider.component.html: Set canonicalUrl into URL of <schema2jsonld> | Use <landing-header> instead of <showTitle>.
3. dataProvider.service.ts: Set url for querying a datasource by pid (if ?pid in landing url param) and parse also the whole record, the objIdentifier and the relcanId.
4. landing-header.component.ts: Added @Input() isSticky: boolean = false; to set less margins when sticky.
5. resultLanding.component.html: Use <landing-header> instead of <showTitle>.
6. resultLanding.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
7. metrics.service.ts: Removed console.log.
8. searchDataproviders.service.ts: Added parsing for relcanId.
9. dataProviderInfo.ts: Added relcanId, objIdentifier, record.
10. result-preview.component.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
11. string-utils.class.ts: Renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
12. [SITEMAPS] extractUrlsFromSearch.ts: Use renamed Identifier.getResultPIDFromIdentifiers --> Identifier.getPIDFromIdentifiers.
13. newSearchPage.component.ts: [Bug fix]
   a. entityType for datasources is "dataprovider".
   b. Added service filter options only when entityType == "service".
2022-05-30 10:39:10 +03:00
Konstantina Galouni 2209804919 [Explore]: services/sitemaps: In sitemaps creation, added case for querying with subjects (instead of refine).
1. extractUrlsFromSearch.ts:
   a. Added input read for result type and for subject (can be given as empty).
   b. Added creation of sitemaps for results related to a specific subject (many methods are parametrized accordingly).
2. run.sh: Added a second parameter for subject.
3. .gitignore: Updated gitignore file to ignore sitemaps created locally in commit process.
2021-11-25 13:51:17 +02:00
Konstantina Galouni a4410578b3 [Trunk | Explore Services]: extractUrlsFromSearch.ts: [Bug fix] Add check for undefined value in log. 2021-10-08 10:33:03 +03:00
Konstantina Galouni 6350a9f550 [Explore Service | Services]: 1. extractUrlsFromSearch.ts: a. Do not query for results but for parametrized "resultType".
b. When final urls > 50000, create new files every 50000.
2. run.sh: Added $1 for argument "resultType".
2021-08-10 12:57:25 +03:00
Konstantina Galouni f5cb4c2acd [Explore Service | Services]:
1. extractUrlsFromSearch.ts: changed results parsing (used landing parsing instead of searh) to call method "checkIfAllowed()" (no index filtering) | Added more numbers for statistics.
2. package.json: Upgrade node version.
2021-08-06 14:19:58 +03:00
konstantina.galouni 6dbdecafb4 [Trunk | Explore Services]: extractUrlsFromSearch.ts: Fixes in script | Services on production, not on beta.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@61367 d315682c-612b-4755-9ff5-7f18f6832af3
2021-07-12 14:09:55 +00:00
konstantina.galouni 5b399090d5 [Trunk | Explore Services]: extractUrlsFromSearch.ts: Added .catch(error => ...) in rejected promises.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@61229 d315682c-612b-4755-9ff5-7f18f6832af3
2021-06-16 08:03:07 +00:00
konstantina.galouni 13b9972ee4 [Trunk | Explore Services]: Renamed "sitempas" folder to "sitemaps".
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@61228 d315682c-612b-4755-9ff5-7f18f6832af3
2021-06-15 14:44:27 +00:00