There are a lot of Topic Models. 18/02/23 # of TM is 24
- ATM(author topic model)
| portal = app['Plone'] | |
| catalog = portal['portal_catalog'] | |
| src = portal['src_folder'] | |
| dst = portal['dst_folder'] | |
| orig = [ | |
| 'name1', | 
| <!DOCTYPE html> | |
| <!-- saved from url=(0074)http://discomap.eea.europa.eu/Trial/ROLF/sitemap/overview-2015-birgit.html --> | |
| <html style="height:100%;"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
| <title>Untitled</title> | |
| <!--Adobe Edge Runtime--> | 
There are a lot of Topic Models. 18/02/23 # of TM is 24
| diff --git a/eea/rdfmarshaller/dexterity/modifiers.py b/eea/rdfmarshaller/dexterity/modifiers.py | |
| index 157c5a4..e19d26b 100644 | |
| --- a/eea/rdfmarshaller/dexterity/modifiers.py | |
| +++ b/eea/rdfmarshaller/dexterity/modifiers.py | |
| @@ -1,13 +1,16 @@ | |
| """ Modifiers """ | |
| import re | |
| import sys | |
| -import rdflib | |
| -from Products.CMFCore.WorkflowCore import WorkflowException | 
Registration of adapter:
  <subscriber factory=".blocks.TextBlockConverter" provides="plone.restapi.interfaces.IBlockDeserializer" />
What it looks like:
@implementer(IBlockDeserializer)
@adapter(IBlocks, IBrowserRequest)
Assuming your .eslintrc.js is like: https://docs.voltocms.com/upgrade-guide/#update-your-eslint-config
Add a file called .eslintrc.js in your src/addons/volto-something addon
const path = require('path');
const root = __dirname
function getPackageBasePath(base) {This a description of the workflow I use to be able to test fresh Volto code in a local Volto project:
npm i yalc -ggit clone https://github.com/plone/volto if you don't have one) run: yalc publishyalc add @plone/volto --no-pureThis will create a local copy of Volto in your project. If you need to "refresh" the copy, run yalc add @plone/volto --no-pure again.
The advantage of this method is that you can have a proper separate Volto, which you can use to push commits and Pull Requests to plone/volto, and you can test these changes in your local project.
| class SubformsTransformer(object): | |
| order = -100 # this should to be executed as first as possible | |
| block_type = None | |
| iface = None | |
| def __init__(self, context, request): | |
| self.context = context | |
| self.request = request | |
| def _transform(self, blocks): | 
Install Node package manager (npm). It is the tool required to install JavaScript packages and libraries:
sudo apt install npm
Install Node version manager (nvm). Volto frontend requires a Node.js server for resource delivery and server side rendering. Node version manager is a tool which helps running the version of Node.js required by Volto:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash