Welcome, Guest! Registration


Friday, 2019-02-22
Main » 2012 » May » 6 » Ucoz Publisher module gotcha - ucoz codes aren't working in articles
1:15 AM
Ucoz Publisher module gotcha - ucoz codes aren't working in articles

Ucoz web hosting provides useful features, such as RSS Reader and Informers so you can easily integrate RSS newsfeeds or aggregated views to your pages. But there is a big gotcha: These things are best integrated with so called ucoz codes, e.g. $RSSIT_xxx$, $MYINF_xxx$ which are supposed to be just copy-pasted to pages. BUT unlike "Page Editor", the "Publisher" module does not process these directives. There is a solution though, - Java Script.

Instead of RSS Reader's $RSSIT_xxx$, put

<script type="text/javascript" src=http://your_site_address/rssi/xxx>

Instead of Informer's $MYINF_xxx$, put

<script type="text/javascript" src="http://your_site_address/informer/xxx">

With RSS Reader there is another gotcha: If there is a problem with the feed source, your visitors will see the last successful record from there. This could be misleading at times. Addressing this issue is not that simple, but some clues could probably be found here - http://likbezz.ru/publ/ucoz/scripts/correct_the_image_links_rss_for_ucoz/29-1-0-77 (Russian)

Given the Ucoz codes are not working in articles, why use the Publisher module at all? Well, it is somewhat better for publishing articles as it has reach catalogging feature, fine grain access control, it is possible to split material into summary and full body, and the most important - it has commeting feature (the basic "Site Pages" does not provide this feature at all).

Views: 1438 | Added by: loc2logg | Tags: Javascript, uCoz | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]