RE: .Net Exodus plugins
"John E. Arnold" <john.arnold-98Yp3PIFTcvkQYj/[email protected]> Thu, 6 Apr 2006 14:54:19 -0400
| Newsgroups | gmane.network.jabber.exodus.devel |
|---|---|
| Message-ID | <001001c659ab$8885fd40$1d00000a@linkagea31p> |
This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C6598A.01745D40 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0012_01C6598A.01745D40" ------=_NextPart_001_0012_01C6598A.01745D40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Ian: I've been through the same exercise and have gotten a rudimentary plug-in (written in C#) to work successfully. At some point, I'll try to package up a skeletal version of my code to share with others. Thanks to those folks back in Dec. 2005 who got me pointed down the path. To help you in the short term, I've attached an annotated version of the exodus.xml file. (To get it to work, you'll have to edit it with your plug-in's information and you'll probably want to take out the XML comment near the end. The key things that need to match up are: * an <s> element in the <plugin_selected> element where the text inside the <s> and </s> tags is the namespace.className of your IExodusPlugin. * an <s> element in the <plugin_files> element where the text inside the <s> and </s> tags is the path to your plugin's .dll Hope this helps. - John - _____ From: Ian Fairbrother [mailto:if-17oLmauzmOWr/SiG9ieY/[email protected]] Sent: Thursday, April 06, 2006 6:27 AM To: 'Ian Fairbrother'; [email protected] Subject: [Exodus-dev] RE: Exodus] .Net Exodus plugins Hi, I am having some problems getting a plugin to be seen by Exodus. I have followed the posted instructions as best I can ref (http://mail.jabber.org/pipermail/exodus/2005-December/000703.html) But Exodus is still not seeing the plugin. The only bit I havnt completed is changing the Exodus.XML file as I am not sure what the syntax should be ? Any help on creating a C# plugin for Exodus on windows would be greatly appreciated. I can make my source code available should anyone be able to provide a little bit of support. Regards, Ian ------=_NextPart_001_0012_01C6598A.01745D40 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:595.3pt 841.9pt; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Ian:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I’ve been through the same = exercise and have gotten a rudimentary plug-in (written in C#) to work = successfully. At some point, I’ll try to package up a skeletal version of my code = to share with others. Thanks to those folks back in Dec. 2005 who got me pointed = down the path.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>To help you in the short term, = I’ve attached an annotated version of the exodus.xml file. (To get it to = work, you’ll have to edit it with your plug-in’s information and you’ll = probably want to take out the XML comment near the = end.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><br> The key things that need to match up are:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>* an <s> element in the = <plugin_selected> element where the text inside the <s> and </s> tags is the namespace.className of your IExodusPlugin.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>* an <s> element in the = <plugin_files> element where the text inside the <s> and </s> tags is the = path to your plugin’s .dll<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hope this = helps.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>- John = -<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Ian = Fairbrother [mailto:if-17oLmauzmOWr/SiG9ieY/[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, April 06, = 2006 6:27 AM<br> <b><span style=3D'font-weight:bold'>To:</span></b> 'Ian Fairbrother'; [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> [Exodus-dev] RE: = Exodus] .Net Exodus plugins</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>I am having some problems getting a plugin to = be seen by Exodus. I have followed the posted instructions as best I can = ref (<a href=3D"http://mail.jabber.org/pipermail/exodus/2005-December/000703.html= ">http://mail.jabber.org/pipermail/exodus/2005-December/000703.html</a>)<= o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>But Exodus is still not seeing the = plugin. The only bit I havnt completed is changing the Exodus.XML file as I am not = sure what the syntax should be ?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Any help on creating a C# plugin for Exodus on windows would be greatly appreciated.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>I can make my source code available should = anyone be able to provide a little bit of support.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Regards,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Ian<o:p></o:p></span></font></p> </div> </body> </html> ------=_NextPart_001_0012_01C6598A.01745D40-- ------=_NextPart_000_0011_01C6598A.01745D40 Content-Type: text/xml; name="exodus-WithMyPlugin-2.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="exodus-WithMyPlugin-2.xml" <exodus version=3D"0.9"> <prefs> <roster_filter value=3D"1"/> <log value=3D"true"/> <profile_active value=3D"0"/> <last_update value=3D"4/3/2005 12:09:45 AM"/> <plugin_dir value=3D"C:\Program Files\Exodus\plugins"/> <plugin_selected> <s>ExHTMLLogger.HTMLLogger</s> <s>ExJabberStats.StatsPlugin</s> <s>ExodusPluginSample.DemoPlugin</s> </plugin_selected> <plugin_files> <s>C:\Program Files\Exodus\plugins\ExHTMLLogger.dll</s> <s>C:\Program Files\Exodus\plugins\ExJabberStats.dll</s> = <s>F:\LS\LSdev\Exodus\ExodusPluginSample\bin\Debug\ExodusPluginSample.dll= </s> </plugin_files> =09 <stats_filename value=3D"C:\Documents and Settings\me\Application = Data\Exodus\stats.txt"/> <keywords/> <regex_keywords value=3D"false"/> <blockers/> <chat_textbox value=3D"28"/> </prefs> <presii/> <positions> <TfrmConnDetails height=3D"288" left=3D"196" top=3D"230" = width=3D"410"/> <TfrmLogin height=3D"153" left=3D"132" top=3D"132" width=3D"373"/> <TfrmPrefs height=3D"462" left=3D"176" top=3D"176" width=3D"466"/> <TfrmExodus height=3D"371" left=3D"88" top=3D"307" width=3D"239"/> <TfrmChat height=3D"305" left=3D"22" top=3D"22" width=3D"391"/> <john.arnold_-_Chat height=3D"305" left=3D"22" top=3D"22" = width=3D"391"/> </positions> <profiles> <profile name=3D"Default Profile"> <username>testing123</username> <server>linkage-a31p</server> <save_passwd>false</save_passwd> <password/> <resource>Exodus</resource> <priority>1</priority> <connection_type>0</connection_type> <host>linkage-a31p</host> <port>5222</port> <srv>false</srv> <ssl>0</ssl> <socks_type>0</socks_type> <socks_host></socks_host> <socks_port>1080</socks_port> <socks_auth>false</socks_auth> <socks_username></socks_username> <socks_password></socks_password> <ssl_cert></ssl_cert> <url></url> <poll>1000</poll> <num_poll_keys>256</num_poll_keys> </profile> </profiles> <local-bookmarks/> <!-- Note that the ChatPlugin does NOT get entered in this file. There is code in the DemoPlugin 'NewChat' method that creates the new Chat and registers the plugin when a new chat session is established. - JEA - 1/10/2006 --> </exodus> ------=_NextPart_000_0011_01C6598A.01745D40 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Exodus-dev mailing list [email protected] http://mail.jabber.org/mailman/listinfo/exodus-dev ------=_NextPart_000_0011_01C6598A.01745D40--