Skip to content

Custom Design

Custom Blocks

The homepage offers two major blocks for users to customize content through JSON:

  • Banner Carousel
  • Activity News List

banner

Each image in the banner carousel is a link that directs the user to a specified URL in a webview upon clicking. You can define the banner's image and the URL to open in the webview through JSON.

Full JSON format:

json
{
  "data": [
    {
      "image_url": "https://usport-file.usport.tw/images/cms/cms20240417114242_661f4532678e0_1920_1200.jpg",
      "web_url": "https://usport.gov.taipei"
    },
    {
      "image_url": "https://img.youtube.com/vi/dLq9uv0X0Nw/maxresdefault.jpg",
      "web_url": "https://co2-passbook.com"
    }
  ]
}
FieldPurposeExample
image_urlImage URL for the carouselhttps://img.youtube.com/vi/dLq9uv0X0Nw/maxresdefault.jpg
web_urlURL to open in the webviewhttps://co2-passbook.com

Activity News List

Activity News

Activity News Details

Each activity news item on the homepage displays an image and title. Clicking it leads to a detail page showing the activity image, time, and content, along with a button linking to the activity's website for more details.

Full JSON format:

json
{
  "data": [
    {
      "image_url": "https://taipeipass-jrsys.cdn.hinet.net/images/8c11705b-12d7-4d65-8cae-89aaf1f59a9e",
      "web_url": "https://tpctax.gov.taipei/Content_List.aspx?n=D7F2AA9F24644EBD",
      "title": "e化繳稅熊讚 Pay Tax By e-Payment with Bravo",
      "start_datetime": 1717430400000,
      "end_datetime": 1735574400000,
      "content": "繳稅可透過pay.taipei、行動支付工具或電子支付帳戶、paytax、線上查繳稅及電話語音等方式繳納地方稅!\n\nPayments of local taxes can be paid through pay.taipei, mobile payment tools or e-payment account, paytax website, online inquiry tax payment or transfer via telephone payment!"
    },
    {
      "image_url": "https://taipeipass-jrsys.cdn.hinet.net/images/3bf6f838-f3da-4b08-875c-054bd0987f4d",
      "web_url": "https://services.arpa.tpctax.dof.gov.taipei/ebillapplyonline/",
      "title": "開徵稅單不漏接 繳納證明隨身帶 No Worry Missing Tax Bills Out on Payment Period. Carry Tax Payment Certificates at Hand.",
      "start_datetime": 1717430400000,
      "end_datetime": 1735574400000,
      "content": "納稅義務人可以透過臺北市稅捐稽徵處網站、城市通、地方稅網路申報作業網站,申請以電子方式傳送臺北市定期開徵之使用牌照稅、房屋稅及地價稅繳款書、轉帳繳納通知及證明,就不用擔心稅單等會漏接或遺失了,還可以e起節能減碳愛地球。\n\nTaxpayers of vehicle license tax, house tax and land value tax can apply for electronic transmitting for tax bills, payment notices and payment certificates of regular levied taxes through the website of Taipei City Revenue Service, Town Pass,“Local Tax to Declare” homepage. You won’t have to worry about missing or losing tax bills and payment notices. What’s more, it can also save energy and reduce carbon emissions."
    }
  ]
}

Activity News List - data

FieldPurposeExample
image_urlImage URL for the activity newshttps://taipeipass-jrsys.cdn.hinet.net/images/8c11705b-12d7-4d65-8cae-89aaf1f59a9e
web_urlURL for the activityhttps://tpctax.gov.taipei/Content_List.aspx?n=D7F2AA9F24644EBD
titleTitle of the activitye化繳稅熊讚 Pay Tax By e-Payment with Bravo
start_datetimeStart time of the activity, in timestamp format1717430400000
end_datetimeEnd time of the activity, in timestamp format1735574400000
contentContent of the activityPayments of local taxes can be paid through pay.taipei, mobile payment tools or e-payment account, paytax website, online inquiry tax payment or transfer via telephone payment!