# HG changeset patch # User nanaya # Date 1447867143 -32400 # Node ID 3be5d1679ce04629db78a083db3ba0879a6cc2a4 # Parent 78658abbb431033c754164fc51f731ea2bda2b96 Add bni, rewrite javascript diff -r 78658abbb431 -r 3be5d1679ce0 .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Thu Nov 19 02:19:03 2015 +0900 @@ -0,0 +1,1 @@ +^bni-jpyidr\.txt$ diff -r 78658abbb431 -r 3be5d1679ce0 bni-update --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bni-update Thu Nov 19 02:19:03 2015 +0900 @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e +set -u + +_outdir="$(dirname "${0}")" + +curl http://bni.co.id/informasivalas.aspx \ + | grep JPY \ + | sed -e 's/[^0-9]*\([0-9][0-9.]*\)[^0-9].*/\1/' \ + > "${_outdir}/bni-jpyidr.txt" diff -r 78658abbb431 -r 3be5d1679ce0 index.html --- a/index.html Fri Aug 14 21:20:56 2015 +0900 +++ b/index.html Thu Nov 19 02:19:03 2015 +0900 @@ -56,6 +56,13 @@ IDR ( IDR/JPY) + +
  • + Bank transfer (alt): + IDR + ( IDR/JPY) +
  • +
  • PayPal: JPY @@ -74,6 +81,7 @@
  • Perhitungan:
  • @@ -84,51 +92,95 @@