(Article updated with information on Media General's first-half earnings.)RICHMOND, Va. ( TheStreet) -- Media General ( MEG) swung to a loss for the second quarter as rising expenses related to its debt weighed on results. For the quarter ended June 27, the company reported a loss of $4.3 million, or 19 cents per diluted share, compared with earnings of $20.6 million, or 90 cents a share, in the same period a year ago. Earnings were hampered by a more than 50% increase in interest expense, which rose to $17.1 million, related to the company's debt. Media General finished the quarter with a debt level of $672.9 million compared with recorded debt of $711.9 million at the beginning of the year. Revenue increased 1.7% to $166.2 million from $163.4 million during the quarter. Publishing revenue, the company's largest segment, fell 7.2 percent to $82.9 million from $89.3 million. However, gains were recorded in the broadcast and digital media segments, with broadcast revenue up 13.1 percent to $72.5 million from $64.1 million and digital revenue expanding 7.9 percent to $10.7 million from $10 million. "Total digital media revenues, including our advertising services businesses, increased 8 percent compared with last year" said Marshall N. Morton, president and chief executive officer of Media General. "Our Web sites alone generated a 16 percent increase in revenues. Local online revenues continued their robust growth and increased 26 percent in the second quarter, a direct result of sales pressure in our markets. Online classified revenues grew for the second quarter in a row and increased nearly 16 percent. This resulted from our sales initiatives related to our Internet partnerships with Yahoo! and Zillow." For the first half of the year, the company reported a loss of $21 million, or 94 cents per share, compared with a loss of $665,000, or 3 cents per share, in the same period a year ago. Sales rose 0.8% to $325 million from $322.5 million. The company expects to see a 6% to 8% increase in total revenue for the third quarter, including a 20% increase in broadcast revenue. Media General shares are trading at above $10 in early afternoon trading, up more than 6%. -- Reported by Theresa McCabe in Boston. Follow Theresa McCabe on Twitter and become a fan on Facebook.