The Kahimyang Project Logo
The Kahimyang Project
Your virtual town crier
 
Welcome
This date in Philippine history
Today
May
23
Today in Philippine History, May 23, 1578, Governor Francisco de Sande sent off an officer to subdue the Sulu Islands (Posted )
 Read more [May in history]

On May 23, 1578, Governor Francisco de Sande, who had taken possession of Borneo for Spain, sent off an officer, Esteban Rodriguez de Figueroa, to subdue the Sulu Islands, instructing him to convert (as gently as he can) the pirates of that place into peaceful farmers, paying tribute to the Spanish Crown.

De Sande was the third governor of the Philippines who ruled from August 25, 1575 to April 1580.



Most recent posts in Philippine history
May
22
Taiwan, Philippines Pursue Joint Shooting Probe to Mend Ties (Posted )

The Philippines' rejection of charges that its coast guard intentionally shot a Taiwanese fisherman to death in overlapping waters has enraged Taiwan and severely strained ties between two normally friendly Pacific Rim democracies. But both sides are hinting this week at a joint investigation that could repair relations.

The shooting of a 65-year-old fisherman aboard his boat on May 9 has created a public furor in his homeland, Taiwan, prompting calls for a full-blown apology and compensation. Taiwan said the act was intentional, but the Philippines has said much less.

 Read more [National/Regional News]
May
22
Today in Philippine History, June 28, 1848, Francisco Mercado and Teodora Alonso got married (Posted )

On June 28, 1848, Francisco Mercado and Teodora Alonso, the parents of Dr. Jose Rizal, got married. Francisco was from Biñan, Laguna while Teodora was from Meisik, Tondo. They had 11 children, 2 boys and 9 girls.

 Read more [Day in history]
May
22
Today in Philippine History, June 17, 1863, Rafael del Pan was born in Intramuros, Manila (Posted )

   Rafael del Pan
   Rafael del Pan (Photo credit: http://www.asiafinest.com/)
On June 17, 1863, Rafael del Pan, a lawyer, nationalist, and reformist, was born in Intramuros, Manila to Don Jose Felipe del Pan, a Spaniard, and Amalia Garcia Fontela, a Filipina.

Del Pan was sent to Spain when he was seven years old to study. He returned to Manila and studied at the Ateneo Municipal. After obtaining his Bachiller en Artes at the Colegio de San Juan de Letran in 1880, he pursued Law studies at the University of Santo Tomas but did not finish the course. It was in the Central University of Madrid in Spain where he completed his studies in law and obtained the Licenciado en Jurisprudencia on January 28, 1886.

 Read more [Day in history]
May
20
China Resumes Cyber Attacks on US, Firm Says (Posted )

A U.S. computer security firm says the Chinese military has resumed cyber attacks on American companies after a hiatus.

Mandiant, which accused China of cyber attacks in a February report, says a Chinese army unit recently broke into the computer systems of more than 100 companies to steal trade secrets.

 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.4K
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.9K
11 pieces of history, coins used by Filipinos before and during the Spanish Era 8455
Philippine Banknotes - paper money, then and now 7817
A Java class for sending multipart Email messages through your Gmail account 6979
Today in history, October 8, 1897, Emilio Jacinto wrote "A La Patria" 5808
How to use Google Translate's Text to Speech (TTS) services in your web page using Servlet 5677
Speed up Primefaces page load with p:remoteCommand partial update 5552
A small collection of Fernando Amorsolo's paintings 5402
Building a mobile website with JSF 2 core and JQuery Mobile 1.0 5330
Google Map-Adding markers, info window, circle, small control, and events in Javascript 5228
A collection of some of Juan Luna's masterpieces 4658
Using Tomcat JDBC Connection Pool as standalone instantiated bean 4124
Customizing and using JQuery tabSlideOut plugin 3752
How to use Facebook comments system, manage events notifications and SEO boost using PrimeFaces/JSF 3460
Using and customizing Orbit image slider plugin for JSF/PrimeFaces pages 3197
Write your own URL rewrite filter for existing JSF pages 3161
Create history record for every change in MySQL table - Audit trail; MySQL trigger 3041
Image manipulation using HTML Div and CSS - image overlay on image, cropping and image caption 2966
All time most popular articles




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

[ 15980 ]