Mugur Rus | 17 Feb 19:41
Picon
Favicon

Re: Multiple publications on one site

Hi Erik,

It is possible to display articles from a different Campsite publication so you don't have to create issues with names like "Publication issuenumber". You can change the current publication in the template using the Publication statement: see http://code.campware.org/manuals/campsite/2.4/index.php?id=66

Regards,
Mugur

Erik Dal�n <dalen <at> jpl.se> wrote:

Problem is that I would like to have a mix of articles from both papers
on the frontpage. I suppose a workaround would be to name the issues
like "Publication issuenumber" instead of just "issuenumber". But I was
wondering if there was any cleaner way.
Also would such a mix have any unforeseen consequences? It would make it
impossible to search in just one of the publications of course.

Ondra Koutek wrote:
> You need to use different vi! rtual hostnames or to put a publication as a
> subfolder of the main site.
> If you choose the same destination for both, campsite is unable to
> recognize, what publication you wish to access.
>
> Ondra
>
> On Wed, 2006-02-15 at 13:28 +0100, Erik Dal�n wrote:
>
>>Hi
>>
>>Been playing around a bit with campsite, and it looks really good.
>>
>>But I have one problem. I'm supposed to set up a site for an
>>organisation that has two papers, one weekly and one monthly magazine.
>>The domain name is the name of the organisation. But when I try to
>>create both publications under it campsite complains:
>>"The publication could not be added. Please check if another publication
>>with the same name or the same site name does not already exist."
>>
>>Is this a limitation in campsite. If so, can it be changed?
>>

--!
Erik Dal�n
dalen <at> jpl.se
http://www.jpl.se/~dalen/

Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
paul | 17 Feb 20:35

taking content from campsite for print publication

Can anyone advise on how to take content from Campsite for use in page layout for a print publication.  What is
the approporate page layout program, eg. Adobe Indesign?  Can content changes introduced in print page
layout be reflected in the campsite content? How is this done?
--
Paul Farrelly

Douglas.Arellanes | 17 Feb 20:45

Re: taking content from campsite for print publication


Hi Paul,

Among the Campsite developers we've always talked about integrating Campsite with print output - something that for better or worse has been called the Supercontentor. It wouldn't be difficult to create templates in Campsite that would output articles with Xpress Tags (.xtg) or other similar formatting elements, but it gets a lot more complicated when going back the other way, especially when an article is up on the flats, gets corrected and then needs to be input back into the database; such a 'roundtrip' mechanism doesn't exist for Campsite as yet, although it's been high on our wish list for quite some time.

Personally, I expect this will get a lot easier now that Campsite is moving toward a proper API for handling articles. We'll see how this develops. And of course, if you're interested in pursuing this, we'd welcome the help.


doug arellanes




paul <at> thewholenote.com

02/17/2006 08:35 PM
Please respond to campsite-support

       
        To:        campsite-support <at> campware.org
        cc:        
        Subject:        [campsite-support] taking content from campsite for print publication



Can anyone advise on how to take content from Campsite for use in page layout for a print publication.  What is the approporate page layout program, eg. Adobe Indesign?  Can content changes introduced in print page layout be reflected in the campsite content? How is this done?
--
Paul Farrelly


Paul Baranowski | 18 Feb 22:18

Re: taking content from campsite for print publication

There are at least three methods from getting the content out of Campsite:

1) you can extract the data by using the PHP campsite API.
(see: http://code.campware.org/projects/campsite/wiki/CampsiteAPI)
2) you can use the template language to display the content in a certain
way (not limited to HTML)
3) you can access the database directly

As for getting content back into Campsite, you can use the Campsite API
or insert into the database directly.    This means you will have to
write custom scripts for this sort of thing.

Can you describe in more detail what you are trying to do?  Then we
might be able to help you better.

- Paul

paul <at> thewholenote.com wrote:
> Can anyone advise on how to take content from Campsite for use in
> page layout for a print publication.  What is the approporate page
> layout program, eg. Adobe Indesign?  Can content changes introduced
> in print page layout be reflected in the campsite content? How is
> this done? -- Paul Farrelly
> 

Erik Dalén | 24 Feb 14:32
Picon

Re: Swedish translation

Here's a Swedish translated for that. There was already a Swedish
translation for xinha, but it was named se.js instead of sv.js (SE is
the country code for Sweden, SV the language code for Swedish). So I
renamed it and translated all the plugins.

Paul Baranowski wrote:
> Hi Erik!
> 
> Thank you so much for sending the swedish translation.  It will be in
> the 2.5 release.  If you have the time, you may also want to translate
> the javascript files (attached) for the wysiwyg editor named Xinha.
> 
> The process should be fairly straightforward: look in the 'lang'
> directory of each component, and if your language is not there, create a
> new file for your language by copying one of the files that already
> exist.  Then do the translation in this new file.  Once you are done
> with all of the directories, just package up the directory structure and
> send it back to me.
> 
> - Paul
> 
> 
> Erik Dalén wrote:
> 
>>Hi again
>>
>>Here's a complete translation of Campsite into Swedish. Unfortunately I
>>couldn't get translation --make_package to work so I just tar.gzipped
>>the direcory. Hopefully that should work just as well so it can be
>>included in the next release.
>>

--

-- 
Erik Dalén
dalen <at> jpl.se
http://www.jpl.se/~dalen/

Gmane