Simon Denier | 2 Dec 2008 16:48
Picon

Internal Links

Hi

Just wondering how Pier deals with internal links in a document, looks pretty obscure to me.

The straight way would go for *An anchor>#anchor* but it doesnt work. Instead I get a structure creation link.

Then there is a brief note about a ' <at> -' syntax in the FAQ
http://www.piercms.com/doc/faq?_s=0yEtAEezi_Bi-svF&_k=dJKceJ4N&_n&26#183366425

I try different thing, like  *An anchor> <at> anchor*,  *An anchor> <at> -anchor*,  *An anchor>. <at> anchor*
but well, no magic works and this is definitely not intuitive.

--
Simon





_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Lukas Renggli | 2 Dec 2008 18:34
Picon
Gravatar

Re: Internal Links

> Just wondering how Pier deals with internal links in a document, looks
> pretty obscure to me.

The syntax is backward compatible with SWiki.

> The straight way would go for *An anchor>#anchor* but it doesnt work.
> Instead I get a structure creation link.

Thanks for reporting. This was broken and is fixed in:

Name: Pier-Seaside-lr.321
Author: lr
Time: 2 December 2008, 6:31:42 pm
UUID: 7d3f5f83-7508-480e-9e62-4f747e89ed68
Ancestors: Pier-Seaside-lr.320

- fixes the missing fragment

> I try different thing, like  *An anchor> <at> anchor*,  *An anchor> <at> -anchor*,
>  *An anchor>. <at> anchor*
> but well, no magic works and this is definitely not intuitive.

The " <at> " is used to define anchors within the document to jump to. The
same character is used to define the jump target within anchors.

Paths can be absolute (starting with "/") or relative (everything
else). ".." represents the parent, "." represents the receiver itself.
This is exactly like on Unix or even Windows.

So the following document works for me:

 <at> top

[lots of lines of text]

*goes to the top> <at> top*
*goes there as well>. <at> top*

--

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Simon Denier | 2 Dec 2008 22:57
Picon

Re: Internal Links


On 2 déc. 08, at 18:34, Lukas Renggli wrote:

>> Just wondering how Pier deals with internal links in a document,  
>> looks
>> pretty obscure to me.
>
> The syntax is backward compatible with SWiki.

mmm, ok, but it should be said somewhere :) (and I've never used swiki)

>>
>> I try different thing, like  *An anchor> <at> anchor*,  *An anchor> <at> - 
>> anchor*,
>> *An anchor>. <at> anchor*
>> but well, no magic works and this is definitely not intuitive.
>
> The " <at> " is used to define anchors within the document to jump to. The
> same character is used to define the jump target within anchors.
>
> Paths can be absolute (starting with "/") or relative (everything
> else). ".." represents the parent, "." represents the receiver itself.
> This is exactly like on Unix or even Windows.
>
> So the following document works for me:
>
>  <at> top
>
> [lots of lines of text]
>
> *goes to the top> <at> top*
> *goes there as well>. <at> top*

Actually it doesnt work out of the box. When I update all packages  
with Monticello, then it works. I didn't take time to track which  
update did the correction though.

--
Simon

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Krishna | 7 Dec 2008 08:44
Picon
Gravatar

data recovery?

Hi all,

I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and
today I find that the squeak instance crashed and when restarted I get
the default Pier site. Is there a way to recover my data?

Cheers,
 -Krishna

--

-- 
Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?
 -  Aksel Peter Jorgensen

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Damien Pollet | 7 Dec 2008 17:36
Picon
Gravatar

Re: data recovery?

On Sun, Dec 7, 2008 at 08:44, Krishna <v.krishnakumar <at> gmail.com> wrote:
> I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and
> today I find that the squeak instance crashed and when restarted I get
> the default Pier site. Is there a way to recover my data?

Did you have one of the persistency schemes setup ?
If not and if you didn't manually save your image after loading the
doku data into it, then I'm afraid you'll have to import it again.

Else I'd check that the image still has the pier instance: PRKernel
allInstances explore

--

-- 
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Krishna | 7 Dec 2008 19:02
Picon
Gravatar

Re: data recovery?

On Sun, Dec 7, 2008 at 10:06 PM, Damien Pollet <damien.pollet <at> gmail.com> wrote:
> On Sun, Dec 7, 2008 at 08:44, Krishna <v.krishnakumar <at> gmail.com> wrote:
>> I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and
>> today I find that the squeak instance crashed and when restarted I get
>> the default Pier site. Is there a way to recover my data?
>
> Did you have one of the persistency schemes setup ?
> If not and if you didn't manually save your image after loading the
> doku data into it, then I'm afraid you'll have to import it again.
>

I din't change the default -- it read "A simple history based
persistence" or something like that.

> Else I'd check that the image still has the pier instance: PRKernel
> allInstances explore
>

will try that.

--

-- 
Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?
 -  Aksel Peter Jorgensen

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Damien Cassou | 8 Dec 2008 14:41
Picon
Gravatar

Re: data recovery?

On Sun, Dec 7, 2008 at 8:44 AM, Krishna <v.krishnakumar <at> gmail.com> wrote:
> I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and
> today I find that the squeak instance crashed and when restarted I get
> the default Pier site. Is there a way to recover my data?

Do you use the one-click image? If yes, have a look at the
Contents/Resources directory. If there are more than one image file,
run the latest.

--

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Krishna | 8 Dec 2008 16:49
Picon
Gravatar

Re: data recovery?

On Mon, Dec 8, 2008 at 7:11 PM, Damien Cassou <damien.cassou <at> gmail.com> wrote:
> On Sun, Dec 7, 2008 at 8:44 AM, Krishna <v.krishnakumar <at> gmail.com> wrote:
>> I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and
>> today I find that the squeak instance crashed and when restarted I get
>> the default Pier site. Is there a way to recover my data?
>
> Do you use the one-click image? If yes, have a look at the
> Contents/Resources directory. If there are more than one image file,
> run the latest.
>

Yes, I'm using the one-click image and there was just one image and
the data is not there. Anyways, not much was lost as I was just
starting out. I recreated it.

btw, the -swapbtn option supplied in pier.sh was not working in Linux
version of the one-click installer.

Cheers,
 -Krishna

--

-- 
Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?
 -  Aksel Peter Jorgensen

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Damien Cassou | 9 Dec 2008 13:56
Picon
Gravatar

Re: data recovery?

On Mon, Dec 8, 2008 at 4:49 PM, Krishna <v.krishnakumar <at> gmail.com> wrote:
> btw, the -swapbtn option supplied in pier.sh was not working in Linux
> version of the one-click installer.

It works for me : Ubuntu 8.04 32bits on a macbook

--

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Krishna | 9 Dec 2008 17:24
Picon
Gravatar

Re: data recovery?

On Tue, Dec 9, 2008 at 6:26 PM, Damien Cassou <damien.cassou <at> gmail.com> wrote:
> On Mon, Dec 8, 2008 at 4:49 PM, Krishna <v.krishnakumar <at> gmail.com> wrote:
>> btw, the -swapbtn option supplied in pier.sh was not working in Linux
>> version of the one-click installer.
>
> It works for me : Ubuntu 8.04 32bits on a macbook
>

Looks like it is a plugin specific option. I had to change
-vm-display-X11 to -vm-display-null as I was running Arch Linux x86-64
on a VPS.

Cheers,
 -Krishna

--

-- 
Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?
 -  Aksel Peter Jorgensen

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


Gmane