Website scraping with Scrapy

The second article about website scraping is about Scrapy. You can find the article here: http://www.discoversdk.com/blog/website-scraping-with-scrapy

If you want to learn more about website scraping then buy my book: https://leanpub.com/websitescrapingwithpython

Happy learning!

Python vs JavaScript

It’s a co-authored article where I give a birds-eye-view introduction to both JavaScript and Python with my opinion which one I prefer over the other.

You can read more about it here: http://www.discoversdk.com/blog/python-vs-javascript

Feel free to comment and start a discussion!

Ordering files in the CKEditor file browser with Liferay

I’ve already written about extending Liferay’s CKEditor with custom Liferay Hooks to implement required functionality.

Today I’ll continue this article with another UseCase where I improved the sorting of the displayed files in the file browser window.

I started to create this article because of this Stack Overflow question.

Continue reading

Extending CKEditor in Liferay

Perhaps you encountered this problem too: you have a website in LifeRay, with WYSIWYG (What You See Is What You Get) editor but you need a custom tag / functionality in your editor to avoid always tipping HTML / JavaScript code in the text editor tab (for a WordPress example: source code). For this the best solution would be a custom button in the editor.

In this article I’ll show you how to add this custom functionality to CKEditor, one of the usable editors in Liferay.

Continue reading

Plunker

An alternative for jsFiddle is Plunker, where you can create code and then run it. Alternatively you can browse between the codes (called Plunks) added by other users.

The difference to jsFiddle is here you can generate pre-defined workspaces/environments for your development and you have a file structure where you can add additional files and link them together. By jsFiddle you have one workspace (separated into HTML, JavaScript, CSS and Result frames). Here you have the option of a life preview, so you can edit your code and see what’s happening (you save yourself clicks on the “Run” button).

So this is a bit sophisticated and similar to a website: write here, copy the code (all the files) and add it to your site. And because it is similar to a live website, you can use other JS libraries too, for example GoogleCharts.

I’d say give it a try too – and when not to code then to browse among the plunks.