How do I implment the web service methods of watershed/ustream? - web-services

I'm supposed to use watershed to allow users to create and post their own videos on a website.
Watershed has it's own viewer for broadcasts and an application for recording broadcasts as well. It's all pretty well set up and easy to embed etc.
If you look at the watershed page (link at bottom of post) it says that you must implement all web service methods for the recording application to work, but it doesn't give any direction on how to implement them.
Am I supposed to do this with javascript? actionscript? how does one go about implementing these "web service methods" I tried to do it with actionscript but I'm not really sure how to put actionscript into my page and what I had typed did not work. Any points in the right direction on what to use or even what some of this stuff means would be greatly appreciated.
https://watershed.ustream.tv/support/advanced_customization/using_web_services

I was able to find this project on github, which is extremely helpful. Put the two files from there on your server. After that go to the watershed site and log in. Under the brands tab, click on properties from the side bar and then advanced settings. Put the link to the soap_service.php on your server and it'll respond to the methods. You can edit the soap_services.php and make the methods do what you want. Hopefully this helps people out who are in the same situation.

Related

how to add new business component in Siebel web tool

I have a Seibel web tools deployment in my network and am trying to add new business components and business services. However, when I click on the business components tab on the left, I do see a plus (addition) sign on the right - above a list of existing business components. But nothing happens when I click on this plus sign.
I even looked up google and Siebel bookshelf,but could not find anything relevant. I came across some useful videos, but they just talk about how to update existing business components.
Please let me know if you have any useful articles on how to do this.
thx - Om
That is the correct way to do it, but there a few things you need to check:
Is the "+" button greyed out?
Are you making the changes in the context of a DEV workspace?
Does the browser console display any errors?
Can you instead make a copy of an existing one and change it? In my experience it is rare to create a BC from scratch.

Openeing a youtube search via a link in an embedded IWebBrowser2 control fails

I have a simple IWebBrowser2 browser in my application like this one sample.
We use this browser control for a research in our application to search for address information. The user may click on a button to perform a selective search for given keywords in the address and the result is shown in this browser control.
For example we execute a YouTube search for
https://www.youtube.com/results?search_query=test+video
I can copy the link into a browser (Chrome, IE, Edge) and the search is executed.
But from within the embedded Control the search shows the following text:
Google Sorry...
We're sorry...
... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.
See Google Help for more information.
The help links are not useful, and the problem arises only to searches on Youtube from within the IWebBrowser2. No Captcha is shown. We use AV and Firewall software... so something from YouTube/Google don't like browsing from an IWebBrowser2.
Hint: If you want to use the sample code form CodeProject you should thet ES_AUTOHSCROLL for the URL edit control. Otherwise you will not be able to enter a long search URL.
Set the agent field of the http query header to emulate a known browser.

Displaying my own analytics data to unauthenticated users

I am writing this question after considerable investigation into this matter.
I have gone through Google's easy dashboards (gadash JS library), superProxy and plain analytics API, and couldn't find the best solution for my needs, although I can't believe my needs are so uncommon.
This is why I am turning to you, I have got a feeling I am missing something.
My requirement:
Display my own analytics account data to users on my website, preferably with Google's chart API or ga-dash, to resemble google analytics views as much as possible.
Users will not have to take part in authentication with Google API
Each user has his own query which is built dynamically !! (this is probably why superProxy cannot work for me because I think you need to manually set the queries in advance)
I use django-python as the basis for my website
problems with solutions I tried:
GAdash library - the problem is that each user has to be authenticated, and shown their own data, meaning they need access to my profile- that's simply not what I am looking for. It works great, but only for me. On the other hand if there was a way to make my profile truly public...
superProxy - sounds like a solution for this need exactly, however I don't think that you can programmatically set the queries.
I did find a way to retrieve the data for a query on the server side using my own credential which is a bit hacky, I am still missing that JS library which will parse this XML on the client side and display it as charts.
EDIT:
I ended up using Mark's solution (embeddedanalytics), since I could not find a better, easier solution.
Other alternatives were:
1. superProxy (lacking the ability to dynamically, programmatically loading new queries)
2. gaDash library - requires authentication from each user
3. Implement my own server side querying, and display to the user with some js graphics library - which would require considerable work on my side.
Check out www.embeddedanalytics.com. This is a platform/service which will do exactly what you are looking to do (disclosure - I work with them).
We also support your requirement that each user have its own dynamically built query. This is what we call our CMS Integration version. Are you trying to create a dashboard system for a CMS system you have built?

recommendations for programmatic web searches

I am working on a system that needs to associate URLs with data based on keywords. I was hoping I could use a web service to automatically perform full-web searches based on keywords or tags, and the results would be in a machine-friendly format like JSON.
My first thought was Google, and their Google Custom Search service looks pretty good, and has proven itself in tests. It has a simple REST-like URL and returns results in JSON format. The only problem is that it has a limit of 100 queries per day. I need more like 1000. Their higher-quota pay option (Google Site Search) does not allow full-web searches, so is useless to me.
Surely others have wanted to do programmatic web searches before. Does Google offer another B2B search service that we could use? We are happy to pay per query, sign agreements, etc. I fear I am not looking in the right place on Google's site.
As I wrote this question I found Microsoft's Bing web services home page. At first blush it looks pretty good. I have a slight preference for Google, but am open to Microsoft. I would love to hear any advice about using Microsoft's APIs.
Google custom search offers a 'pay for >100 queries' option, I believe:
https://developers.google.com/custom-search/v1/overview
(see 'paid usage' section at the bottom)
#Sync found the right way in, and I believe I now understand the problem: Google has two control panels for custom search, and you can't get to one from the other.
I was on the panel for my Google Custom Search engine (www.google.com/cse/panel), which gives me control over low-level aspects of my search engine, and the only pay option was to convert to Google Site Search, but in so doing I would lose my full-web search power.
There is another, higher-level, control panel for all of Google's APIs (code.google.com/apis/console), of which Custom Search is a component. And from here, setting up billing to get a larger quota is clearly linked.
Sorry I am not providing proper links, as the relevant pages require login to access. While I consider this answer to be the authoritative one for my question, I am giving the green checkmark to #sync, without whose help I would not have been able to figure it out. I'd still love to see some comments on Bing's APIs, however!

A solution for integrating ads in (Qt) applications

I'm working on a software that I would like to offer for free in charge with advertisement banners inside the application. Something like the banners in Spotify or the banner in the MS Live Messenger Contact List. Something like the iAd system that integrates in iOS-applications.
Are there any solution for this? I'm programming a multi platform C++ Qt-application. Of course I can have a web browser frame and use a web-based advertising system, but that would be very easy to block for the user. Therefore I would prefer a system that also would work offline in some way.
As you all have pointed on; it's very difficult to imagine a system that will run even without a network connection. As I mentioned in the question, the best solution would be to have a WebView and depend on the network. And I think so too, but I was interested IF there was something geneous solution out there that I couldn't find.
In addition I think I can display a banner for the company or something like that when there are no connection. My application does not need Internet connection for any other functions, so it would be very easy to click "no" when the windows firewall asks for permissions for the program.
But I still want the advertisement to be annoying enough to give the paying users a good advantage. (I personally hates other programs doing so, and the alternative for me is to release the software Open Source, but I think I have a good idea, and if I ever finish and release something, I would like to see if it is possible to get any money out of it.)
Doesn't QT have something like a KHTML webbrowser control ?
Then you could simply embedd a web-page with a google add in a HTML page.
I suggest offline banners as well. Just you should organize a smart mechanizm in order to have your banners in a safe place, because user can just find the banner folder, and delete all banners and put there just a blank image with a fixed color and your ads are done :).
Also you should update the banner folder content whenewer the user has an internet connection and you should do that in background! This is the main idea.
If there are improvements of this idea, I would like to discuss with great pleasure as this question interrests me too!