DevWebProFrance News Archives About Us Feedback

Web News:

Un rival annoncé pour Wikipedia
Un des fondateurs de l'encyclopédie libre sur Internet va lancer un service rival, Citizendium, dont le contenu sera contrôlé par des experts. L'un des fondateurs de Wikipedia, l'encyclopédie libre sur Internet dont les articles sont écrits par les...

Exalead, Petit Poucet tricolore de la recherche sur Internet
Sur le marché de la recherche sur Internet, secteur que l'on croyait être un pré carré états-unien, un français tente de se faire une place. Ambitieux, Exalead a lancé la semaine dernière sont moteur...

SGAM propose davantage de services en ligne sur ses nouveaux sites Internet www.sgam.com & www.sgam.fr
Société Générale Asset Management (SGAM) se dote d'un site Internet de nouvelle génération pour accompagner son développement international multi-clientèle. Ces nouveaux outils reflètent...


10.17.06


You Can't Do Everything In Windows Live Writer

By David A. Utter

A short while ago I wanted to convert my ajax tagger in to a Windows Live Writer Plugin.

After some silly mistakes creating sample plugins I started to learn how the API works and some the short falls of the current API.

The main thing I noticed was that you cannot access the text of the post inside your plugin. You cannot access the selected text either.

I pinged off an email to the Window Live Writer Forum

I am in the process of playing with the SmartContentSource class for creating a plugin. But I am having some problems.

I am debugging my plugin, to see the state of certain objects such as the SmartContent Objects. My Plugin creates a side bar and manipulates the SmartContent Object, all fine and well.

The problem that I am having is that I can determine what text is in the blog post at the moment. The SmartContent object doesn't have anything, and the object represented by the ISmartContentEditorSite interface doesn't have the whole text or selected text.

Does anybody know how to get at this text, because as I see it, if plugins can't see the blog post then there is only a small finite amount of plugins that we as developers can create.



And this was the response that I got from Joe Cheng at Microsoft.

Right now, the plugin model is just about inserting objects. Can you share what your idea for a plugin is?

It's not as simple as saying "whole text" or "selected text", blog posts are composed of a pretty rich set of objects from MSHTML and from our own framework. If we can understand your specific scenario it would help us figure out the right way to design these interfaces.

Thanks...


Which is straight to the point. I have let them know of the ideas of the things that I wanted to do.

I would also suggest that if you have any other ideas for plugin for Windows Live Writer that you cannot create in the current implementation of the API, then let them know as quick as you can so that we can get a big bit of ground support so that are requests will be taken notice of.

I belive we need access to the text of the plugin because without it we will be very limited to the number and types of plugins that we can create.

For instance we would not be able to mark up posts with microformats as easily. We will not be able to respond to the content and meaning of the post, so for instance we would not be able to create an automated tagger that simply looks at the content of a post and works out the topics (much like my Ajax Tagger http://ajaxtag.kinlan.co.uk/).



About the Author:
David Utter is a staff writer for WebProNews covering technology and business.

About DevWebProFrance
DevWebProFrance is for professional developers ... those who build and manage applications and sophisticated websites. DevWebProFrance delivers via news and expert advice New Strategies In Development.

DevWebProFrance is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com NetworkNewz.com


-- DevWebProFrance is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
 © 2006 iEntry Inc.  All Rights Reserved  Privacy Policy Legal  
 

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


New Strategies In Development
DevWebProFrance Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact