- ARCHIVE / 2010. május 29
- Alfresco uploader with Curl
Let see a simple shell script example to upload content to Alfresco repository using RESTful API.
Requires Curl package to be installed on your system. Just set ALFRESCO_SERVER, USERNAME and PASSWORD variables in script before start it…#!/bin/bash
#
# Alfresco upload script with CURL by LouiSe@louise.hu
#
# Usage: alfresco_uploader.sh
#
# ./alfresco_uploader.sh /tmp/some.pdf someSite documentLibrary someDir
#
ALFRESCO_SERVER=http://localhost:8080/alfresco
USERNAME="admin"
PASSWORD="admin"
#CURL_VERBOSE=-v
CURL_VERBOSE=-s
CURL_METHOD=POST
FILENAME=`basename $1`
MIMETYPE=`file [...]
- FreeMarker tutorial
I’ve found a very interesting post about an interface to learn FreeMarker templating engine: FreeMarker sketchbook
FreeMarker sketchbook is a Java WebStart application with following features:
- realtime output processing and view
- page and tag view
- variable editor
- help and examples included
FreeMarker is a template engine and language which we are using in the content management system [...]
- Alfresco Web Script egyszerűen
A Web Script-ek, illetve a Web Script-ekkel megvalósított szolgáltatások az Alfresco rendszer erőforrásainak, elemeinek és tartalmainak egyszerű, HTTP protokoll fölötti publikációjára készültek. Ez a lehetőség a 2.1-es verziótól kezdve használható mind az Enterprise, mind a Community kiadásokban.
Kapcsolódó linkek:
Web Script-ek használata
Web Script minták
FreeMarker az Alfresco-n belül
Freemarker template minták
Alfresco JavaScript API
Alfresco JavaScript API minták
Hogyan készítsünk Web Script-et?
Alapvetően [...]
- ExtAlf – Alfresco by ExtJS
I’m working on a new ExtJS wrapper (ExtAlf) – inspired by Opsoro – for Alfresco document and workflow management functions (by webscripts), like foldertree, document properties, preview, etc. This is not an Opsoro or FlexSpaces alternative, rather than a developer toolkit or a simple SDK what supports embedding Alfresco backend functionality into Web2.0/AJAX portals and [...]
- Simple browser for Alfresco
I’ve made a simple content and hierarchy browser for Alfresco – using the WebScript interface – inspired by Dr. Q’s Dead Simple UI (just try the iPhone Navigator too). This is a really quick browser, but has got a quick search input on the left-top corner. That’s all, no more.
Installation:
1. Download louise-folder.zip to your [...]




