Soft As It Gets Forums   Welcome to the new Soft As It Gets Forums. You can get assistance here for our new product Surfulater,
and for ED for Windows

Go Back  Soft As It Gets Forums > Pre-Sales Questions and Evaluation Software Downloads > Surfulater questions and comments
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1
Old 1st February 2005, 02:35 PM
Jim Veltman Jim Veltman is offline
Junior Member
 
Join Date: Feb 2005
Posts: 1
Question Integrating other file formats into knowledge base.

Is there a way to save other file types (word, excel docs etc.) in the knowledge base or conversely can surfulator docs be saved in Windows Explorer?
Reply With Quote
  #2
Old 1st February 2005, 07:05 PM
nevf's Avatar
nevf nevf is offline
Neville Franks - Chief Rocket Scientist
 
Join Date: Jan 2004
Location: Australia
Posts: 3,072
Default

Quote:
Originally Posted by Jim Veltman
Is there a way to save other file types (word, excel docs etc.) in the knowledge base ..
Hi Jim,
Not at present, but this will be added reasonably soon. ie. You will be able to add any file as an Attachment to an article and these will be stored in the Knowledge Base in a compressed format to save space.

You can add links to external files however. To do this go into edit mode on an Article field, select some text you want to use for the link and press Ctrl+K. To link to a file select "file" from the Type list.
Quote:

.. or conversely can surfulator docs be saved in Windows Explorer?
I'm afraid I don't understand what you want here. Can you please explain further.
__________________
Neville Franks,
Author of ED for Windows and Surfulater
Reply With Quote
  #3
Old 24th December 2005, 01:10 AM
nevf's Avatar
nevf nevf is offline
Neville Franks - Chief Rocket Scientist
 
Join Date: Jan 2004
Location: Australia
Posts: 3,072
Thumbs up V1.94, B0.0 makes it even easier to attach files

Quote:
Originally Posted by Jim Veltman
Is there a way to save other file types (word, excel docs etc.) in the knowledge base or conversely can surfulator docs be saved in Windows Explorer?
Hi Jim,
A belated update on this. The ability to attach files (Word, PDF, Excel, Zip et.all) was adding back in the V1.80, B0.0 release.

The next release V1.94, B0.0 makes it even easier to attach files to Surfulater articles, as well as including a range of other nice new features.
__________________
Neville Franks,
Author of ED for Windows and Surfulater
Reply With Quote
  #4
Old 28th December 2005, 10:21 AM
BLI BLI is offline
Junior Member
 
Join Date: Dec 2005
Posts: 3
Default

Quote:
Originally Posted by nevf
Hi Jim,
A belated update on this. The ability to attach files (Word, PDF, Excel, Zip et.all) was adding back in the V1.80, B0.0 release.

The next release V1.94, B0.0 makes it even easier to attach files to Surfulater articles, as well as including a range of other nice new features.
I would add to this that, at least for users of Office 2003 or the new 2005, saving for instance word docs as XML or as HTML will make them even better candidates for attaching them to an article in surfulater. Surfulater appears to be very xml-driven: the main 'database' is an xml file at least, while binary files such as images are stored in a separate binary storage file (I'm not sure, because I'm trying surfulater only for a day or so now). Thus, a word document would be stored in a binary format, while a 'WordML' or 'Word-as-html' stored file would possibly be stored as XML. At least it would be more in line with the aim to use open standards as much as possible in surfulater. Besides that, WordML files can be opened without having Word, if Microsofts plugin for IE is installed for viewing WordML files.
Reply With Quote
  #5
Old 5th March 2006, 12:44 PM
pmowbray's Avatar
pmowbray pmowbray is offline
Senior Member
 
Join Date: Mar 2006
Location: Blue Mountains: Australia
Posts: 236
Lightbulb

Quote:
Originally Posted by nevf
Hi Jim,
A belated update on this. The ability to attach files (Word, PDF, Excel, Zip et.all) was adding back in the V1.80, B0.0 release.

The next release V1.94, B0.0 makes it even easier to attach files to Surfulater articles, as well as including a range of other nice new features.
What I would very much like to see is the ability to to store non-Web articles, for example: Word Documents, Excel Spreadsheets, even text files.

What would be required is some VBA within Office or vbScript in the text editor to add the highlighted section and address to Surfulater (the same as for a web page except that it's either local or on a network somewhere) with all te same benifits!

I've done a few Office Add-Ins and would be willing to give this a go
Reply With Quote
  #6
Old 5th March 2006, 06:47 PM
nevf's Avatar
nevf nevf is offline
Neville Franks - Chief Rocket Scientist
 
Join Date: Jan 2004
Location: Australia
Posts: 3,072
Default

Quote:
Originally Posted by pmowbray
What I would very much like to see is the ability to to store non-Web articles, for example: Word Documents, Excel Spreadsheets, even text files.
Hi Perry,
As I mentioned above you can do this using Article | Attach File or right click | Attach File. See the Help Topic: "Attaching & Linking files to Articles".
Quote:

What would be required is some VBA within Office or vbScript in the text editor to add the highlighted section and address to Surfulater (the same as for a web page except that it's either local or on a network somewhere) with all te same benifits!

I've done a few Office Add-Ins and would be willing to give this a go
The Surfulater Clipboard Hotkey and Article|New Article from Clipboard, enable you to copy selected content from other documents into Surfulater articles. See the Help topic: "Creating New Articles from the Clipboard".

I've only just had my first cup of coffee for the day/week and might not be completely in tune with your request.
__________________
Neville Franks,
Author of ED for Windows and Surfulater
Reply With Quote
  #7
Old 6th March 2006, 10:32 AM
pmowbray's Avatar
pmowbray pmowbray is offline
Senior Member
 
Join Date: Mar 2006
Location: Blue Mountains: Australia
Posts: 236
Lightbulb

Quote:
Originally Posted by nevf
As I mentioned above you can do this using Article | Attach File or right click | Attach File. See the Help Topic: "Attaching & Linking files to Articles".
Sure: that's OK, I understand that
Quote:
Originally Posted by nevf
I've only just had my first cup of coffee for the day/week and might not be completely in tune with your request.
Not sure if it should go somewhere else, I think I mentioned it in the ideas section of the download page...

When you create an article from a WebPage, I'm guessing it's something like this:
  1. Create and store thumbnail
  2. Get highlighted part of page and store in article
  3. Get Meta Tags and url
  4. Add Reference and Attachments
What I'd like to do is to be able to expose that functionality to VBA and other scripting technologies, so that the same type of thing can happen in other applications apart from Web Browsers, eg using VBA in Office applications or a scripting language in other applications, create a macro which will:
  1. Create and store a thumbnail (a bit like window capture maybe?)
  2. Get highlighted part of page and store in article (would need to convert it to HTML first, which isn't too difficult for office, simple for text, but could be more problematic for other apps -- probably fall back to plain text?)
  3. Get MetaTags and url (for office applications the Document Description and keywords could be used; url = file address
  4. Add Reference (file://C:/My Documents/file.doc) and Attachments
So, I'm not wanting just to attach other file types, but integrate them like the HTML pages have been. Does that make sense?

Regs,
Perry

Last edited by pmowbray : 6th March 2006 at 10:37 AM.
Reply With Quote
  #8
Old 7th March 2006, 08:04 PM
nevf's Avatar
nevf nevf is offline
Neville Franks - Chief Rocket Scientist
 
Join Date: Jan 2004
Location: Australia
Posts: 3,072
Post

Ok, got it. This should be easy to do as Surfulater uses XML to pass all the captured information across from the Browser. In fact another user is already doing this for one of his projects.

The XML spec is:
Code:
<SULAddArticle template="..">   - template attribute is optional. Defaults to IE.
	<URL></URL>
	<Reference></Reference>	- these match HTML Template field names
	<Title></Title>
	<Text></Text>
	<MetaDescription></MetaDescription>
	<MetaKeywords></MetaKeywords>
	<Browser></Browser>
	<BASE></BASE>
</SULAddArticle>

All content other than plain text should be XML CDATA. Best just to use CDATA for everything. Leave unused fields blank.

Basically create the text above along with whatever content you want captured and copy it to the Clipboard. Then start or activatate Surfulater and it will grab it and create shiny new article.

To include a thumbnail image create it with a name: "SULIEThumbnail.jpg" and place this in the folder Surfulater is installed in. It should be 74H x 60W - pixels.

For example code download the Surfulater Firefox Extension, Surfulater.xpi from the Download page, rename it to a Zip file and look in surfulaterOverlay.js at function BuildSurfulaterXfer().

Pretty neat huh! Let us know how you go.
__________________
Neville Franks,
Author of ED for Windows and Surfulater
Reply With Quote
  #9
Old 8th March 2006, 08:56 PM
mvincenzes mvincenzes is offline
Junior Member
 
Join Date: Feb 2006
Location: Lowell, Massachusetts, USA
Posts: 18
Default Should this work if I just copy to the clipboard in a text editor?

I placed the XML in TextPad (or XMLSpy), select it and do "copy"
There is a popup above the system tray saying that an article is being created. I have to click on the popup to get rid of it, and there is no article in SUL.
Do I need to do the copy to clipboard from a program?
Reply With Quote
  #10
Old 8th March 2006, 09:19 PM
nevf's Avatar
nevf nevf is offline
Neville Franks - Chief Rocket Scientist
 
Join Date: Jan 2004
Location: Australia
Posts: 3,072
Default

Quote:
Originally Posted by mvincenzes
I placed the XML in TextPad (or XMLSpy), select it and do "copy"
There is a popup above the system tray saying that an article is being created. I have to click on the popup to get rid of it, and there is no article in SUL.
Do I need to do the copy to clipboard from a program?
This will work fine from a text editor as long as the necessary fields are provided. The following examples work:
Code:
 
<SULAddArticle>
 <URL>www.acme.com</URL>
 <Reference>www.acme.com</Reference>
 <Title>Acme title</Title>
 <Text>Acme text</Text>
 <MetaDescription></MetaDescription>
 <MetaKeywords></MetaKeywords>
 <Browser></Browser>
 <BASE></BASE>
</SULAddArticle>
 
<SULAddArticle>
 <Reference>www.acme2.com</Reference>
 <Title>Acme2 title</Title>
 <Text>Acme2 text</Text>
</SULAddArticle>


If there is a problem the SurfulaterLog.txt file in the Surfulater folder will provide info on the error. Something like:
Quote:

09 Mar 2006 09:06:39 Error NH: In CFMNView::CreateRecordFromClipboard() and NewRecordFromXMLString() failed with error: -9
The most likely errors are:
-3 template doesn't exist.
-8 couldn't find href in reference html field,
-9 couldn't find reference html field.
etc.
__________________
Neville Franks,
Author of ED for Windows and Surfulater
Reply With Quote
Reply


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 10:56 PM.


Powered by: vBulletin Version 3.0.0 Release Candidate 3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2004-2005, Soft As It Gets Pty Ltd