multimedia support in liferay portal - liferay

I am new to liferay portal.. Does it supports multimedia file formats by default.. or any plugins needs to be added..?

You can upload any content to the document library - this can be files of any type. There are also plugins available to (for example) embed flash or videos on the page - these might as well come from external locations, but don't need to.
The portal itself is agnostic: It just generates the HTML, therefor everything that you can generate in HTML (and referenced files: images, css, video, audio etc) is supported. There's no specialized "streaming server", delivering large multimedia files in chunks or partially, but you can still embed them by referencing an external streaming server (if this is what you need - media streaming is not the core business of a portal)
For referencing such content from the CMS it usually pays to take a look into structures and templates. These help you to separate the links to media from the generated HTML.

Related

Live Server for Static Markdown Websites

I am currently looking into static site generators.
I build a testing documentation site with Vuepress and am now fiddling with going into the live operation.
i don't want to publish my files to services (GitHub Pages, Netlify etc.) but I want to host it on my own server.
Generating static html sites everytime I add markdown pages or change the content is not an option.
Is there a way to host Vuepress (or maybe similar markdown generators) where I just need to upload the .md files and everything goes automatically?
There are two basic ways to use markdown as your website...
use a live server:
In this scenario, each request is processed by a program which retrieves the markdown text and does some pre or post processing (templateengine, formatting etc).
This could be a simple CGI script, a web framework or a custom server.
use a static site generator:
You process the markdown on your lokal machine and generate static html files, which are uploaded and served by a web server.
To answer your question whether or how you can use vuepress:
There are multiple possible ways, depending on your current setup.
If you only have some webspace, than you have to upload prerendered html files (or using another framework).
If you have a virtual server, than you can automate the build/rending process by using scripts, e. g. with file watchers.
Note to GitHub:
Even if you said, that you don't want to use GH... If you only want to hide the markdown files, you can create a private repository and use GH Actions as CI/CD pipeline.
Unfortunately Stackoverflow is not for software recommendation, so for alternatives to vuepress have a lookt at Software Recommendations.

Upload multiple files on a domino server with SSJS

I need to upload multiple files (doc, jpg, pdf) and want to do this via Ajax. There are several description for clientside code, for instant here. So this part is covered well. But I did not find a counterpart description how to laod and store those docs with SSJS code on a domino server.
Can anyone give some hints where to find a description or may have some code snippets ?
Also it would be interesting to learn about incremental upload methods.
As ever, it's worth checking OpenNTF. Here are a couple of controls designed for that, YouAtNotes HTML5 Multiple File Upload and XPages Async Multiple File Uploader.

Dart asset vs web directories?

I've seen Dart code that places all CSS, HTML, JS, images, etc. in an asset subdirectory, and other projects that place those same files under a web directory. Even the Dart package layout spec is ambiguous on the subject.
So I ask: when to put client-side resources under asset, and when to put them under web?
This is a new feature/convention.
The problem is, that the web server integrated into Darteditor doesn't yet support the asset directory. It's only supported by pub serve yet. But I guess Darteditor will support it soon and then this is the way to go.

Can P&T assets be integrated with drive and push uploads to youtube?

I'm currently working on a project that requires a simple yet complete workflow for media management from within the EE (2.5+) control panel... specifically youtube videos.
I know that P&T Assets (2.1+) supports google cloud storage and in light of that, we would like to use it to upload videos to it and what would be ideal then is if there was a way for Assets or Google to post to youtube on upload complete.
Is this at all possible?
I know we can use wygwam to embed videos within an entry and can even use an addon such as Antena to embed youtube videos but we would like to manage it from within the CP.
That's not possible without extending assets significantly, you could do something with the youtube API (https://developers.google.com/youtube/v3/docs/videos/insert) and trigger a a youtube upload once assets has finished a upload.

Sitemap.xml or Sitemap.html

I am working on one web application. I want to submit site to web crawlers using a site-map file.
There are many ways to do so
Use sitemap.xml
Use sitemap.html
Use urllist.txt
Use compressed sitemap files
All we need to do is add one of these files in root directory of applications.
My question is which option out of these is good to use ?
I'd go with an xml sitemap as defined here http://sitemaps.org/
Html sitemaps are more geared towards user navigation and urllist.txt seems to be an old method of providing links to yahoo.
XML sitemaps in the format defined on the above site were created by Google, Yahoo! and Microsoft and are recognised by all three.
The others wont do any harm but I believe the biggest benefit will come from an xml sitemap.
As for compression, that's up to you, if you want to conserve your bandwidth then gzip it however keep in mind it must be no larger than 10mb when uncompressed.

Resources