Finally come to Use ccTiddly

9 views
Skip to first unread message

TonyM

unread,
Aug 10, 2010, 9:34:31 PM8/10/10
to ccTiddly
I have just finally come to use ccTiidly and am hoping it is still an
active community.

Can anyone tell me the following;
Has the fact that tiddler imported with ImportTiddlers plugin seem not
to save been fixed ?
Is there a way to specify the tiddlers to be included when a new work
space is created ?

I am looking to create an online environment of interactive open
projects. I would like to build a sophisticated set of tiddlers and
steps into a work space an allow new projects (Read Work space) to be
created at needed.

Alternatively I could provide instructions to import tiddlers that
would for a project buy as the aforementioned import tiddlers is not
working this is not available.

Kashgarinn

unread,
Aug 11, 2010, 4:55:32 PM8/11/10
to ccTiddly

> Can anyone tell me the following;
> Has the fact that tiddler imported with ImportTiddlers plugin seem not
> to save been fixed ?

It's still not fixed, I discovered it was probably a field issue, as
all of the imported tiddlers get somekind of a temporary field to
them, haven't had the time yet to investigate further.

> Is there a way to specify the tiddlers to be included when a new work
> space is created ?

Probably, but I haven't had to do it myself, Simon who developed it
most extensively might pop by here and might be able to answer you, if
not, then it's something you'll have to research as there are ways to
automatically add tiddlers/plugins into the wiki, I just don't know
how it's done.

S.

Kashgarinn

unread,
Aug 12, 2010, 12:39:00 PM8/12/10
to ccTiddly
I was wrong about the fieldname, I was confusing the temp.cctversion
field for somekind of a temporary tiddler field, but that's wrong,
it's a field regarding the revision of the tiddler itself.

So yea.. the normal import doesn't work for me, and the
importtiddlersplugin doesn't work either.

I'm trying to import from an old version of CCTW to CCTW 1.9, and I
get an error: Error in importTiddlers.onGetWorkspaceList: Not Found

and like you, I can import with the importtiddlerplugin from a html
file, but for some reason the tiddlers don't get saved to the server,
only to the store.

No idea why, would love to fix it, but no idea how...

S.

Kashgarinn

unread,
Aug 13, 2010, 8:51:39 AM8/13/10
to ccTiddly
Ok, I've been fiddling around with ImportTiddlersPlugin, and I added
this code:

inbound.fields['server.id'] = ""; // remove the original id (if one
exists)
inbound.fields['server.type'] = 'cctiddly';
inbound.fields['server.host'] = window.url;
inbound.fields['server.workspace']= window.workspace;

// do the import!
store.suspendNotifications();

var newT = store.createTiddler(inbound.title);
newT.text=inbound.text;
newT.modifier = inbound.modifier;
newT.modified = inbound.modified;
newT.tags = inbound.tags;
newT.fields = inbound.fields;
newT.created = inbound.created;
plugin.saveTiddler(newT);

You can see that I added something just above and below the 2 lines:
// do the import!
store.suspendNotifications();

- With this I can import a tiddler, and then edit any existing tiddler
and when I click done on the edit, the imported tiddler gets saved as
well. But there are some quirks.. like I can't seem to retrieve a
tiddler with a " at the start after it's been saved to the database,
and if I check phpmyadmin, the tiddler fields aren't exactly the same,
there are more useless fields.

I'm not sure what of this is that works, and what's just bloat just
yet, I'm still fiddling with this code, but I think I'm tinkering in
the right place.

S.

Anthony Muscio

unread,
Aug 13, 2010, 9:44:47 AM8/13/10
to ccti...@googlegroups.com
Kashgarinn, Thanks for your work,

I am traveling interstate and reading your posts just not able to respond and test.

I think this is a valuable exercise. ccTiddly seems to fit well into my hosting environment so I see some value in getting it up and running.

I will see what I can do this weekend.

Tony


Anthony Muscio
LaSourceProjects.org Open Source Sustainability Projects
LaSource.com.au Sustainable Products and Business
SerendipityIdeas.com IT hints and Tips and Website hosting
Like personal Web 2.0 ? see www.tiddlywiki.com




S.

--
You received this message because you are subscribed to the Google Groups "ccTiddly" group.
To post to this group, send email to ccti...@googlegroups.com.
To unsubscribe from this group, send email to cctiddly+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cctiddly?hl=en.


Kashgarinn

unread,
Aug 16, 2010, 11:36:59 AM8/16/10
to ccTiddly
I'd love to get this thing working, but for some reason it just
doesn't. using the code I did I can get one tiddler through.. and
I've got 1953 tiddlers then to go...

Importing has always been a bitch.. hate this stupid goddamn thing as
I'm seeing no reason whatsoever why it isn't working.

Kashgarinn

unread,
Aug 18, 2010, 4:51:47 PM8/18/10
to ccTiddly
Finally found out what was wrong with the importing of tiddlers, the
server PHP didn't support curl_version() which is called in proxy.php,
so I had to comment that out and I was able to import with the default
import functions. You could try enabling it and see if that works,
but I don't have the rights to restart my webserver, so couldn't try
that.

Of course, total import didn't work for some reason, there was a
maximum number for some reason.. so I had to import it in chunks.
Reply all
Reply to author
Forward
0 new messages