Confluence Export to Kentico Import - kentico

We have 70 pages of documentation in Confluence that I need to get into my Page Tree in Kentico v11.
Is it possible to use the import toolkit to import the exported xml file? Is there another way I should be thinking of doing this? I know in Confluence you can subscribe to rss. I am wondering if maybe repeater and rss datasource may be the way to go?

If you're able to export this into an XML file, you can use the Kentico Import Toolkit (KIT) to import the XML file into a node in the content tree. My guess is your page type may only have 2 fields in it: PageName, PageContent. Your PageContent field would need to be rich text to allow for any HTML formatting.

Related

How to achieve header, footer and pages features like MS-office document in tinyMCE/ckeditor?

My application users can import ms-office document (docx) content to the editor(tinyMCE/Ckeditor) or export the editor content to docx. So the problem is, Header and footer of docx will not behave as such.
Added i want docx pages functionality into the editor like page 1, page 2 and etc.,
I have tried with document editor functionality on Ckeditor - https://ckeditor.com/ckeditor-4/demo/#document, but it is not satisfying my expectation.
My application is with Angular 7 and Node JS.
can somebody give me alternate solution to achieve this kind of functionality.

How to export datatable in HTML format?

I am using primefaces 5.0 jar files. I searched on google and found that primefaces datatable is not supported to export html format. its support only csv, xls, pdf and xml format. but i want to achieve this functionality so any one know how to achieve this functionality.
Is there any alternative way to export datatable in html format?
It is not to difficult to add an additional format to the PrimeFaces exporter.
Just override two classes in PrimeFaces (you can put the overridden classes in your own application with the same name and package):
org.primefaces.component.export.ExporterType.java
org.primefaces.component.export.ExporterFactory.java
In the first you add "HTML" and in the second you add an additional case in the switch:
case HTML:
exporter = new HTMLExporter();
break;
This HTMLExporter does not exist, and you need to use one of the existing exporters as an example to create your own HTMLExporter (if you put it in a different package than org.primefaces.component.export, you might need to also add an import statement in the ExporterFactory, but that is hopefully obvious)

Orchard Projection Isotope

I'm trying create an affiliate directory on my Orchard site. The directory is populated by running a query on my custom Content Type. The directory needs to be sortable and searchable. I've set up a basic jsfiddle here that is a basic functioning version of what I'm attempting to do, but it's just in html: http://orchard1.pha.jhu.edu/affiliates-beta-2
Or you can view the jsfiddle here: http://jsfiddle.net/tgelles/AMZf8/
Has anyone discovered a way to best use isotope on an Orchard Projection? I've downloaded the Projection Layout module, but I have no idea how to use that/where to inject the specific isotope code. I've also created alternate template files for the Projection's Summary display, but I don't know how to best inject the isotope plugin into that razor file.
Any help would be appreciated.
The best way would be creating a shape, but You could easily edit the query template and inject the js through a custom view for that projection(url,type, etc)
Check in your Queries.
There was a video which helped me understand better how they work: http://www.youtube.com/watch?v=Ka55wTTXZg8
Hope it helps.

Liferay, Mediawiki import (code) changes

I'm actually implementing to export a bunch of 'mediaWiki' pages and import them into the Liferay Wiki.
So, as per the existing process, I exported all the required necessary pages into an '*.xml' file and did an import from the Control Panel.
The problem:
When I check the parsed/rendered pages, I see sections of the page isn't rendered appropriately. Upon further digging, I noticed that the sections that weren't rendered are the places which had the '<table>' as '{|' (in wiki) and upon looking further, I noticed that in the page 'html\portlet\wiki\help\mediawiki.jsp' there isn't a specific rule that describes '{|' as being a '<table>' tag.
So, my Question is, if there is a place/source-file to which I can edit and/or add the necessary rules to. If not, what would be the ideal solution for this?
Note: You can see the actual 'wikipedia' formatting rules for a table in this page (https://en.wikipedia.org/wiki/Help:Table#Using_the_toolbar)
Your best bet is to post-process the XML file. That way you can transform the table markup however you want. A better resource for the table markup is on mediawiki.org

How to import a page break from html to google docs?

I'm trying to export a document in html and import it again (for the purpose of the test I don't even edit the file). After exporting, I can see that the page break is kept in the html :
<hr style="page-break-before:always;display:none;">
But after I import this file into google docs, and do the conversion, the page break is not materialized in the document. I can only see a line where the pagebreak should be.
Is there is a way to make it working ?
PS: I'm using the python gdata v3 API.
I've also been looking for this. It seems this is as easy as adding:
<hr class="pb">
Credit: https://productforums.google.com/forum/#!topic/docs/fqLmAJkPpTs

Resources