Antonio Maura y Montañer in 1910 (Photo credit: Wikipedia Commons).
On May 19, 1893, the Maura Law was promulgated. Named after its author Antonio Maura y Montañer, who was then the Minister of Colonies of Spain. Its purpose was to confer upon the towns and provinces of Luzon and the Visayan Islands a greater measure of autonomy, with the exception of Manila whose government (at that time) was not altered.
On July 22, 1815, Apolinario de la Cruz, also known as Hermano Pule, crusader of religious freedom, was born in Lukban, Tayabas (present day Quezon province) to Pablo de la Cruz and Juana Andres, who were both religious.
Apolinario wished to become a priest but was disappointed when not one of the religious orders in Manila wanted to accept him because he was a native Filipino. It did not stop him, however, so he entered the San Juan de Dios Hospital, where he eventually became a donado (lay brother) and member of the Cofradia de San Juan de Dios, a religious brotherhood.
The U.S. government believes a Chinese missile launch this week was the first test of a new interceptor that could be used to destroy a satellite in orbit, a U.S. defense official told Reuters on Wednesday.
China launched a rocket into space on Monday, but no objects were placed into orbit, the Pentagon said on Wednesday. The object re-entered Earth's atmosphere above the Indian Ocean.
“We tracked several objects during the flight but did not observe the insertion of any objects into orbit and no objects associated with this launch remain in space,” said Lieutenant Colonel Monica Matoush, a Pentagon spokeswoman.
A diplomatic dispute between Taiwan and the Philippines intensified Thursday, as Taipei began a military exercise in the disputed waters between both countries.
The air and naval drills in the Bashi Channel come a week after the Philippines Coast Guard shot dead a 65-year-old Taiwanese fisherman, prompting outrage in Taiwan.
The family of the fisherman and Taiwanese officials have refused to meet the Philippine president's personal representative who was sent to Taiwan to apologize for the death.
Taiwan's premier Jiang Yi-huah is rejecting the Philippines president's apology for last week's shooting death of a Taiwanese fisherman by the coast guard.
Jiang says President Benigno Aquino's apology is unacceptable because it calls the shooting "unfortunate" and "unintentional."
Taiwan has imposed sanctions on the Philippines including recalling its envoy to Manila and freezing job permits for Philippines workers. Taiwan also plans to hold naval exercises in disputed waters.
Rhinoslider is a beautiful JQuery slider plugin that can handle images, video and other HTML content with many custom options. Using the plugin in HTML pages is quite simple and straightforward. Their website even has a generator that will give you a code and start customizing the plugin from there. Here in this blog, we will demostrate how to integrate this plugin on images and youtube videos into a JSF page based on version 1.05 of the plugin. We will provide 2 options of embedding the plugin. Live demo is available in the home page with this site.
Listing 1 below, is a sample generated page. Please make sure that items from 6 to 11 of the snippet are accessible from the page itself. These items are part of the plugin download. If using PrimeFaces, you may want to remove lines 6 to 8. Also lines 10 and 11 are optional and are controlled by the values of "easing" and "controlsMousewheel" parameters of the plugin (see Listing 7).
Today we will demonstrate how to setup SSL on Tomcat 7 with and without Apache2 in Debian servers using self-signed certificates. This should work with Debian Squeeze and Wheezy servers. We assume you already have existing Apache 2 and Tomcat 7 installations.
A sitemap.xml generated on demand is very helpful for websites that has lots of pages and with pages that are added frequently. According to
Google, sitemaps help their crawlers find pages from websites. This is true for new websites or for pages that has fewer links to them.
The servlet herein described is based on sitemaps.org protocol with Google image extension. We used JDOM2 library to create the XML sitemap
structure. Below is how a standard sitemap looks like with the Google image extension. Please note that image extension is supported only by
Google. Bing/Yahoo ignores them.
A Google+ interactive post is similar to a basic share post but adds a call-to-action button to the post. In a product post for example, the
call-to-action button can be "Add to cart", engaging your users direct from Google+ stream. The call-to-action button appears just
below the main post area. Aside from the call-to-action, the interactive post will ask for user permission the first time the share button is
used through the standard Google+ OAuth consent dialog or always depending on the value of data-approvalprompt attribute.
Some of the Facebook panels with slim scrollbars and infinite scrolling are those non full-page panels used to display notifications and messages. These are activated by button-icons in the upper left corner of your timeline. In this blog, we will demonstrate how to create similar panels using slimScroll jQuery plugin in
PrimeFaces.
Please note that the first section of this blog (slimScroll panel without the infinite scrolling) also works for standard JSF projects.
To better demonstrate how to generate XML RSS 2 feeds, we will use a servlet with JDOM 2 library. In this short blog, we will generate only the
required elements plus a few options for feed reader interoperability. Please refer to the RSS 2 documentation for more of the optional elements and
to learn more about the RSS 2 specifications. JDOM 2 is available for download here http://www.jdom.org/.
Below is a sample RSS 2 feed generated by the servlet that follows further down (contents edited for clarity).