The Kahimyang Project Logo
The Kahimyang Project
Your virtual town crier
 
Welcome
This date in Philippine history
Today
May
19
Today in Philippine History, May 19, 1893, the Maura Law was promulgated (Posted )
 Read more [May in history]

   Antonio Maura y Montañer
   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.



Most recent posts in Philippine history
May
19
2 Mossad, CIA 'spies' executed in Iran (Posted )

Two Iranian spies working for the U. S. Central Intelligence Agency (CIA) and the Israeli intelligence agency Mossad were hanged in Iran on Sunday morning, the state IRIB TV said.

Mohammad Heidari, one of the executed men, had prepared information in a number of security issues of the country and had given them to the Israeli Mossad in several meetings outside of the country, said the report.

Heidari received money in return for the information he had availed to the Israeli Mossad, according to IRIB.

 Read more [National/Regional News]
May
19
Philippine Workers in Taiwan Feel Backlash (Posted )

Advocates for Philippine migrant workers say they are concerned about the effects of a hiring freeze Taiwan's government has put in place against the Philippines. The move came less than a week after a Philippine Coast Guard crew admitted shooting at a Taiwanese vessel, killing a fisherman.

Statistics from the Philippine Overseas Employment Administration show close to 30,000 Filipinos are hired as workers in Taiwan every year. The government says there are a total of more than 85,000 workers there now.

 Read more [National/Regional News]
May
17
Today in Philippine History, July 22, 1815, Apolinario de la Cruz was born in Lukban, Tayabas (Posted )

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.

 Read more [Day in history]
May
17
US Sees China Missile Launch as Test of Muscle (Posted )

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.

 Read more [National/Regional News]

  • The attempted assassination of Mrs. Marcos
    (December 7, 1972)
  • Start of the Death March after the surrender of<br/>Bataan (April 1942)
    Start of the Death March after the surrender of
    Bataan (April 1942)
  • Typical Moro house over the sea<br/>(1901, Jolo, Sulu)
    Typical Moro house over the sea
    (1901, Jolo, Sulu)
  • Ninoy Aquino-Cory Cojuangco wedding<br/>(October 11, 1954)
    Ninoy Aquino-Cory Cojuangco wedding
    (October 11, 1954)
  • President Magsaysay's funeral procession<br/>(March 17, 1957)
    President Magsaysay's funeral procession
    (March 17, 1957)

Primo's code blogs recent entries
May
04
Using Rhinoslider with image and youtube content in JSF pages (Posted )

Rhinoslider demo   
Rhinoslider sample.   
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).

 Read more [HTML/JavaScript]
Mar
14
2 ways to setup SSL on Tomcat 7 (Posted )

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.

 Read more [Server/Tomcat]
Mar
07
A dynamic standard sitemap.xml with Google image extension implemented as a Java Servlet (Posted )

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.

 Read more [Java/JSF]
Mar
05
Using Google+ interactive post for web pages (Posted )

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.

 Read more [HTML/JavaScript]
Feb
08
Creating a Facebook-like panel with slim scrollbars and infinite scrolling in PrimeFaces (Posted )

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.

 Read more [Java/JSF]
Jan
31
Generating XML RSS 2 feeds with JDOM 2 with a servlet (Posted )

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).

 Read more [Java/JSF]


Most Popular articles
Page Hits
Using Expect script to automate SSH logins and do routine tasks accross multiple hosts 15.3K
How to setup Tomcat 7 as your primary webserver on Debian Squeeze 14.1K
How to setup FLV streaming with crtmpserver C++ RTMP server 9.8K
11 pieces of history, coins used by Filipinos before and during the Spanish Era 8443
Philippine Banknotes - paper money, then and now 7809
A Java class for sending multipart Email messages through your Gmail account 6968
Today in history, October 8, 1897, Emilio Jacinto wrote "A La Patria" 5804
How to use Google Translate's Text to Speech (TTS) services in your web page using Servlet 5642
Speed up Primefaces page load with p:remoteCommand partial update 5414
A small collection of Fernando Amorsolo's paintings 5369
Building a mobile website with JSF 2 core and JQuery Mobile 1.0 5309
Google Map-Adding markers, info window, circle, small control, and events in Javascript 5209
A collection of some of Juan Luna's masterpieces 4636
Using Tomcat JDBC Connection Pool as standalone instantiated bean 4104
Customizing and using JQuery tabSlideOut plugin 3734
How to use Facebook comments system, manage events notifications and SEO boost using PrimeFaces/JSF 3442
Using and customizing Orbit image slider plugin for JSF/PrimeFaces pages 3161
Write your own URL rewrite filter for existing JSF pages 3116
Create history record for every change in MySQL table - Audit trail; MySQL trigger 3026
Image manipulation using HTML Div and CSS - image overlay on image, cropping and image caption 2913
All time most popular articles




Typhoon formation probability (%)
Near real-time weather conditions in the Western Pacific near the Philippine archipelago

[ 15566 ]