Hello everyone,

I know it's been a while since my last communication on attachments but 
since we moved at beginning of summer and had a lot of home improvement 
to do I had no time at all to work on flexwiki.

Now that I have more time I was able to get a few things working so here 
is the status

Attachments.aspx: The topic attachments management page
-add attachments with a summary.
-display all attachment revisions with the following info.
  - File name
  - Author
  - Last modification
  - Size
  - Summary
-delete an attachment.

Linking to an attachment
-link to an attachment ( i.e. default.aspx/Namespace/Topic/Attachment.ext )
-link to a revision ( i.e. 
default.aspx/Namespace/Topic/(2007-03-13-21-40-46.1562--127.0.0.1)_Attachment.ext
 
)

Formating rules or parsing in wikitext is done for the following formats
-Basic: /Attachment.ext, /[Copy of cat.jpg]
-With topic: Topic/Attachment.ext, [Topic]/Attachment.ext
-With namespace: Namespace.Topic/Attachment.ext
-Supports relabeling
-Tooltip with summay displayed
-the existence of the attachment is asserted to make sure we do not link 
to a file that does not exist

Wikitalk
-Access attachments from TopicInfo

This is currently working only for the FileSystem content provider.

The next thing to do would be to integrate the attachment versioning 
with the topic versioning for the RSS feed and the newsletter but before 
I do this I'd like to have your input on a part of the implementation of 
the above.

Currently when you save an attachment it creates 2 files; a file named 
(2007-10-21-18-44-35.3125-Author-Machine)_Attachment.ext that is the 
actual attachment
 and a file named 
Attachment.ext(2007-10-21-18-44-35.3125-Author-Machine).awiki that 
contains the wikitext for the attachment.  The wikitext is there to keep 
the metadata about the attachment; currently the only thing saved is the 
summary text of the attachment entered by the user but this could be 
used eventually to add any other metadata like content disposition or to 
create user defined properties searchable by wikitalk.

When we want display the list of attachments for a topic we go through 
all the (*)_Attachment.ext files and return the latest of each and after 
we ask for the summary property that's in the wikitext file.
Basically the attachment module is currently Attachment.ext centric so 
to create a new revision of this attachment you must have a new 
Attachment.ext file saved.  But what happens if you want to modify the 
summary of an attachment ? Does that create a new attachment revision ? 
If so then we need to create a new Attachment.ext file with the same 
bits as the previous one and a new updated wikitext file.  That seems 
like a waste of resources so I started to think that maybe it would be 
better if the attachment module was wikitext centric instead so an 
attachment would be a .awiki file that would contain a link to the 
binary Attachment.ext file.

What do you think ?

Pascal

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to