The temple came first
With the name Miao-kou ("temple gate"), there must be a temple nearby. But visitors, having eaten and gone home, might wonder, "Where's the temple?" "What god is worshipped there?" This time-honored food street is now more famous than the temple it's associated with.
Keelung antiquarian Tsao Ming-chung writes in his book The Culture of Kee-lung's Miao-kou that immigrants from Zhang-zhou in Fu-jian Province settled here long ago and built a temple dedicated to their tutelary god Kai Zhang Sheng Wang (the Tang-Dynasty general Chen Yuan-guang, who pacified the borderlands between Fu-jian and Guang-dong). Over a century ago, local gentry in Kee-lung built a crude wooden structure to serve as a temple; later on the wealthy Lin family of Ban-qiao donated land, and a temple was built at the current location. Dianji Temple was consecrated in 1875, and soon thereafter small eateries began operating by the temple gate.
The people of Kee-lung made their livings mainly from fishing, coal mining and dock labor. "With coal being carried in by rail from the mines and fishermen bringing their catches to market each morning, laborers of all kinds packed the market streets surrounding Dianji Temple," notes Tsao.
According to the childhood memories of the second-generation stall operators, food stalls lined both sides of the temple square in the latter years of Japanese rule, selling congee, side dishes, adzuki bean soup, shaved ice desserts, fried noodles and meat-filled rice dumplings. Outside the temple square were numerous stalls featuring two long wooden benches fixed to the ground with four bamboo poles attached, from which hung a canvas tarp to keep off the rain. Vendors with pushcarts and mobile stalls plied their trades here.
After the Japanese left, the population increased as the economy grew, and with it the number of mobile carts on Ren 3rd Road. In Kee--lung's rainy climate, moving the stalls around was incommodious, so vendors made deals with shop owners, who agreed to let them move their stalls into the arcade space outside their shops. As time passed they became fixed stalls, 64 altogether.
Over six decades old, Miaokou Night Market offers old-time cuisine,such as richly seasoned dingbiansuo (below) and value-for-money bite-sized sausages (facing page, bottom). The stall owners wear uniforms, and the signs are clearly marked in Chinese, Japanese and English.