web-development

Where can I get a feed (RSS / XML or something else) of live sugar (or agricultural) products?

Sites like http://www.futurespros.com/softs/london-sugar provide live feed of current rates of sugar across the World. Where can I get current rates of sugar for various countries through some feed so that it is possible to access them programatically and display them on my web page? ...

Google Maps Remote .js and Access-Control-Allow-Origin

Hey there! I wrote a Google Maps API wrapper in JS, did some local tests with static html, and everything worked just fine. Then I loaded the files into a local web server running in localhost:8080, tested the map panels, and once again, everything worked just fine. Then a week went by, I added a map to a page, and I couldn't get it to...

Reading JSON feed of external HTTPS site

Is it possible to read JSON feed available in another site which is HTTPS? I'm getting empty string in return. ...

php speed with if statements

So I'm working on a project written in old-style (no OOP) PHP with no full rewrite in the near future. One of the problems with it currently is that its slow—much of the time is spent requireing over 100 files based on where it is in the boot process. I was wondering if we could condense this (on deployment, not development of course) i...

Website schedule component based on location

Hi all, My company offers a service in which we go to our customers location to perform our service. To automate the process, customers will go to our website and schedule a day on which they would like the service performed. On the back end, We will have several different predefined geographic areas of town defined, and will service ...

Changing data in child iFrame issue - can't obtain a DOM object.

Hi, guys. For some reason I'm trying to parse this website: http://www.vblandrecords.com/index.aspx. I am currently trying to click Document type tab and then change From date value. I supposed I could have done it with the following code, in VBA: Option Explicit Public WithEvents ieObj As InternetExplorer Public Sub Launch() Se...

Can I use Python to run html

hi there. i am writing an HTML editor and would like to make a section so that you can view how it would look in web browser directly in the program is this possible? Thanks so much ...

Is it possible to fake referer information sent by web browsers?

My service might use referer information to tell from what web site a request is done, and I would like to make sure there is no way to fake the referer information. ...

Templating System and Plugin System

Hi, How to create template/theme system and plugin system for a custom CMS similar to Wordpress or joomla? Edit: I don't want to use any templating engine similar to wordpress; a reason why it is famous for templating. ...

page does not refresh after an action is called

I have commandLink with an actionListener that calls a method to change the value of text. The same commandLink has an action that reloads the page. When I click the commandLink, the actionListener is called. But the action only is completed --showing the updated value of text-- when I refresh the browser. Why isn't the outputText being ...

Netherlands Antilles dissolved as per 10-10-10, how to change Country dropdowns?

See also Dissolution of the Netherlands Antilles. In a nut: Curaçao and Sint Maarten become autonomous and the remnant of the islands (the BES islands) become special municipalities of the Netherlands. The question is: how should we replace Netherlands Antilles (with country code ISO-3166-2:AN) in the country dropdown of the average we...

Sending a regEx pattern as a parameter in a query string

I have to design a RESTful client and service in Java. For a GET request, i need to send a regEx pattern as a query parameter. in the client i'm sending the pattern as http://localhost:6520/restservice/foo?pattern=^BP$ i'm getting Illegal Endpoint address exception. I even tried http://localhost:6520/restservice/foo?pattern='^BP$' and i...

Google App Engine Deployment Errors

We deployed an app using Google App Engine before. We are trying to redeploy the app in Eclipse. We are getting the following errors: The App Engine SDK '\XXXX\war' on the project's build path is not valid Google App Engine Problem The output directory for the project should be set to /XXXX/war/WEB-INF/classes Unknown Goo...

how to setup a web app with model view controller on CentOS beside using Tomcat server

Hi there, I'm working on a project that the customer specifically want java to be the back end engine. My team wants to see if there is a good way of implementing it without having to deal with struts (they all hate tomcat & struct setup for some reason). So given that I have total control over a CentOS server running apache, is there a ...

What is remote repositories ? and master branch ?

I upload PHP website project to server godaddy. And I use Netbeans and once I code on project at localhost, it'll execute remote synchronization with project on server when I save file. Now I want use Git, I read many guide, almost use GitHub. But I don't want to use GitHub. And here : http://progit.org/book/ch2-9.html To be able ...

Character display wonder

When I copied here,it's actually: printf("\n"); But when displayed in this page,it's: Anyone knows the reason, how to reproduce it with least code? BTW,can anyone sniffers the language it's written in? ...

Hide, the file extension during client browsing

I am trying to hide the extensions of my scripts like .php or .html, so that the person browsing the website, will not have any idea about the language the page is developed at. Any Idea how to do this? ...

How to understand that a site is made by GWT?

How can I see if a site is made by GWT or not? In other words, how can I understand that a site is using GWT and what are the special features that are only in GWT and not in JS? ...

Speed up web UI development in Java by redeploying only UI code?

I'm really pissed when I'm developing UI and have to redeploy the whole application to see my changes which can take up to a minute. Most of the time when starting up is spent in starting up the service and dao layer(=hibernate). I already have the application divided into multiple modules and the UI code is one separate module. All of t...

Integrating VoIP on PHP site

Hello there. I was wondering if it was possible to have a chatting feature on my site(VOICE NOT TEXT) is this possible on a php enabled server(GoDaddy) or do i need like a flash type server. Also if it will work how can i start. Thanks So Much!!! ...