plugin for google chrome [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am using windows xp and i want to develop my own plugin for google chrome using cpp like other plugins(flash or silverlite) because i have my own exe file so when particular page is open it find for plugins and if plugin is not installed on the system then it first ask to install that plugin form the server and if plugin is already installed then it will not ask and started service.
so anybody knows such type of example or any related tutorial then please tell me.
thank you in advance to all.

The NPAPI is not an easy API to use directly, IMO. However, there are frameworks that make the creation of plug-ins much easier. See:
FireBreath - "a framework that allows easy creation of powerful browser plugins"
nixysa - "A glue code generation framework for NPAPI plugins"

Checkout NPAPI or PPAPI.
NPAPI works in firefox and chrome.
PPAPI is chrome only and is experimental.

Chrome supports the NAPI interface for plugins. Check out:
https://en.wikipedia.org/wiki/NPAPI
https://developer.mozilla.org/en/Plugins

Related

Communicate With Online Message Board [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How might one create an application that communicates to an online website's message board, say www.espn.com's message boards that can retrieve posts, post stuff, and flag posts. How might somebody go about creating an application that does something like that? sockets?
I would like to create this in c++
This is actually more complicated than it sounds. Most message boards don't open up their API (usually to prevent spam), and if they do, you'll probably have to work with them to get the details.
The general idea is:
Open socket to their server
Send the appropriate data according to their API
Profit
If you want to hack it, you'll have to do some scraping/wireshark packet sniffing to figure out their API. There will probably be some cookies you'll have to read to get communication tokens and whatnot. It's possible, but it's a lot of work.
Some other websites (like Twitter and Google) open up their API and actually provide developer tools to interact with their data. I don't think a site like ESPN would be that open to hobbyist developers, so you'd probably have to sign some kind of agreement.
If you're really interested, read up on HTTP (here's a really simple beginning tutorial). Most APIs are built on the HTTP protocol, so you'll want to become very familiar with it. I'd recommend using something besides C++ though, since socket work can be a bit tedious. Try something like Python.

Creating GUI using XML in C\C++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i never actually used XML, someone can recommend me METHOD to create GUI configuration file for C\C++ application.
Recommend me framework or something, because i really dont know how what is best to use.
I code the application for Windows only, and i don't want to use framework that has dependencies on .NET.
Thanks in advance.
I think that you can use Glade to generate the XML for the GUI and use the GTK+ toolkit ...
By using GtkBuilder, Glade XML files can be used in numerous
programming languages including C, C++, C#, Vala, Java, Perl,
Python,and others.
Glade is Free Software released under the GNU GPL License.
... and it works well even on Windows ...
I would recommend looking at a product from the QT project called QT Quick that uses a configuration file (but it is not XML) to describe the user interface and JavaScript to handle actions and it interfaces with C++ code on the back end.
I don't think most GUIs use an XML file to describe the widgets/controls. But Mozilla has an XML based markup language that is used for creating GUIs called XUL (XML User Interface Language) . It may be possible to use it as a front end for C/C++ desktop code via some other technology called XPCOM/XPConnect.
I was at a presentation in which someone stated that using HTML5 (must be HTML-5) along with Javascript and a browser would replace traditional GUI toolkits as the front end for a C++ desktop application.
Thought, windows programmers may use internal(!) windows interfaces. Choose one from XMLDOM and xmllite.

Railo coldfusion cfdiv error [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I just installed Railo 3 latest version on my Win7 PC. I've added a couple test variables using cfset and those output fine so i know Railo is running.
I added a simple cfdiv tag with no parameters set and when i run the page i get an error.
Then i tried another cfdiv setting each parameter that are marked as optional and i've gotten the error to disappear.
I have always used Adobe Coldfusion and I'm already starting to feel like the end result is going to be more predictable using Adobe Coldfusion. What do others think about some of the knock Coldfusion implementations like Railo and OpenBD?
CFDiv is an extension for the engine. So it is added as a CFC based custom tag. If there is anything wrong with it you could submit a patch for it since it is all written in CFML.
Although it is nice to have all tha AJAX tags I would always recommend using a javascript framework like JQuery or ExtJS.
Gert
Nothing wrong with any of them IMHO. Use whatever works best for you. =) That's the beauty of choice!

Big calendar populated from a database [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am using ColdFusion 9.1.2 and jQuery 1.6.2 and SQL Server 2008.
I am creating a web site that has a ton of dates in it. I want to spit out those dates into a full page calendar for the entire month and have users be able to scroll through each month.
I haven't heard of a ColdFusion events calendar feature. I am not looking for the jQuery datepicker thing.
What is a free and easy calendar solution for ColdFusion?
I have had the best luck with FullCalendar. It is a jQuery plugin which you can find here. Also, Raymond Camden has blogged an example using it with ColdFusion which you can find here
I was just looking for something similar yesterday - the best that I found was John Mason's Event Calendar on riaforge. It's the mostly recently updated and somewhat modern looking one compared to Ben Nadel's or any of the others on riaforge.
If you end up developing your own, please please please open source it. There's a big need for a modern CF calendar.
You could give Ben Nadel's Kinky Calendar a try:
http://www.bennadel.com/projects/kinky-calendar.htm

using firebreath created npapi for chrome can i call the plugin methods from the extensions and not from html loaded page [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I've built a simple NPAPI plugin, and registered it with Chrome. This all works; javascript in the browser is able to interact with plugin.
But i need to be able to call methods of my plugin from Chrome extensions.
Can it be done?
Yes, you can. Extensions are implemented in JS and HTML, so you can embed and call a plugin from an extension just as you would from a web page.