Parse text in Lync IM conversation? - lync-2010

We currently have a block list for Lync 2010 that contains all file extensions because someone at the company accidentally sent a malicious link to someone else. Long story short, none of the developers can send links and management is hesitant to back off the block list.
For them to back off the block list I need to build a lync extension/tool that can be used to parse and validate the url before it's sent to the IM recipient. I've downloaded the Lync 2010 sdk, am well-versed in c# and would like some advice.
Can you recommend how to setup dev environment to build lync extensions?
Can I do this in VS?
Can you point me to an example on how to parse text or links from an IM conversation?
Thanks for your time,
Chris

Use MSPL (Microsoft SIP Processing Language). You can filter messages passing through Front End Server. For more idea read blog of Michael Greenlee on following url:
http://blog.greenl.ee/2011/12/30/modifying-sip-headers-managed-sip-application-api/

Related

How to build gmail chat bot?

I want to build an simple gmail chat bot.
The bot reads the chat messsage of the recipient and responds it..
I have developed the logic for response to the message
but now im stuck with the bot configuration.
How to setup a gmail bot which can receive the message from chat window and give the message to me . and reply my message back to the person in chat ?
note: this question may seem duplicate but i have tried every solution to previous question i am unable to find a complete solution from scratch anywhere.
Hope any when can help me here.
You need to use the Google Talk API. More information can be found here. I have never used it before, but from what I read, you need to have to write your logic in a compatible language to interface with the API and build up from there. Very standard Google API docs, help, etc in the link.
If you know Python there is a library built for this purpose, bot allow developers to quickly and easily deploy bots. I highly recommend you use that. If you don't know Python, there is anoter guide here that explains how to do it with very minimal PHP/Perl code. If you don't know PHP or Perl, there is another resource here that explains how to do it in Node.js. IF you don't know Javascript, here is how to do it in Java.
I don't like publishing links to guides, but the API document should have been enough. These were all found with the Google search term "make a google talk bot".

Generating an article from an email in mediawiki

I would like to be send an email to an address that mediawiki can pick up and have mediawiki take it and generate a new page from it as a starting point. More complicated stuff like categories can come later.
I have searched around on the web and not found anything obvious.
I have not developed against mediawiki before but am an able and willing developer.
Thanks for any assistance provided.
There is this extension - EmailToWiki
It relies on a POP3 account being available and has been in Beta for a long time, but it may be a good start for what you want to do.
Have a daemon of some sort running on the server that picks up emails from an account (through POP protocol presumably), use the Mediawiki API to generate stub page.
Instead of a daemon, you could just have a cron job of some form.

Is it possible to have a free web-service that would check a page and email its HTML code to me?

I just asked a question about whether it was possible to write a web-page-checking code and run it from free web server, and one supporter answered and said that it was possible and suggested that I used Google App Engine service.
But he also said that there are no files there, so I would have to work with their database.
I wonder, if there is no such feature as creating files on that free web server, then is it possible to run from that free web server a code that would check a web-page every once in a while, record its HTML code, and mail it to my mail box?
It is totally possible on Google AppEngine.
I am not sure by you mean "no files" on GAE: there is definitely access to files but in "READ ONLY" mode.
What you have to do is fetch the remote WEB page (through urlfetch API) and use the email API to send it.

Intercepting email to add text

I need to automatically add text to emails sent by users. The text CANNOT be added as a signature in outlook, but has to be added after the users click 'send' in outlook. My company uses Microsoft Exchange Server.
Any ideas?
Thanks!
If this is Exchange Server 2007 you can add a thing called a Transport Rule (in the Exchange Management Console) to do this. What you're looking for is called a "disclaimer" since most companies do this so that they can add a legal disclaimer to the bottom of outgoing email.
I would expect that this could be done with a Microsoft Outlook add-in if you have access to be able to distribute such things. Adding it as an addin at the client level may be easier than adding something to the server, and would certainly be less likely to cause problems with the server itself.
If memory serves, Visual Studio allows you the ability to create Microsoft Office addins.
Here's a link to an MSDN article about programming for Outlook 2003 in C#
http://msdn.microsoft.com/en-us/library/aa289167.aspx

Serve a form without a web interface

Anyone doing any work using "offline" forms? We have an application that requires inputting data from outside our company. I was thinking about sending a form out via email, allowing the form to be filled out then sent back. Obviously a web application would be the best solution, but management doesn't seem ready to build the infrastructure and security to support that. I've read a little about PDF forms is that a good solution or are there other solutions?
Have you considered InfoPath? These can be created and distributed through email. And then the data can be collated automatically.
Also, consider using Google Spreadsheets with Google Forms. It's free and infrastructure is outsourced.
PDF forms can work as well.
Another possibility is to use Microsoft SharePoint. If your company uses Microsoft Office for the people filling the forms you referring to, you could deploy an Office based solution and gather information with Sharepoint Server.
Check this link out.