WASHINGTON (AP) -- The Washington Nationals have relied heavily on the home run during their winning streak.
On Friday, they sprinkled in three key hits that didn't leave the infield and some sparkling defense.
Wilson Ramos homered and drove in three runs, Ross Ohlendorf pitched five innings in place of Stephen Strasburg, and the Nationals beat the Philadelphia Phillies 6-1 for their seventh straight victory.
Four Washington runs came on infield singles and Bryce Harper threw out two Phillies at second base as the Nationals moved within 4 1/2 games of Cincinnati for the final NL wild card.
''We're getting a few breaks now,'' manager Davey Johnson said.
Overcoming adversity, too.
Strasburg was scratched after experiencing forearm tightness during a throwing session Thursday in New York. Ohlendorf (4-0), who recently moved to the bullpen, stepped in and survived a shaky first inning to allow a run on five hits over five innings.
''He made the pitches. Great effort,'' Johnson said.
Ian Desmond had two hits and two RBIs, and Ryan Zimmerman (3 for 4) hit a solo homer and scored three runs for Washington. Denard Span singled, extending his hitting streak to 24 games.
Kyle Kendrick (10-13) was charged with six runs on eight hits.
''I didn't give us a chance to win, I didn't pitch deep into the game,'' Kendrick said. ''It's been a rough second half.''
Kendrick has a 6.91 ERA since the All-Star break and hasn't won since August 6.
Johnson said Strasburg will rest for a few days and is slated to start Sept. 19 against Miami.
''It's not down where they did the Tommy John (surgery in 2010),'' Johnson said before the game. ''It's on the soft tissue on the top side of the forearm.''
The Nationals have clubbed 15 homers in their last five games. Zimmerman has nine of his 24 home runs in his last 11 games, while Ramos has four in his last six.
Carlos Ruiz and Cody Asche had two hits apiece for Philadelphia, which scored first.
Cesar Hernandez led off the game with a walk. With one out, Chase Utley singled him to third. Ruiz followed with an RBI single, but Ohlendorf struck out Darin Ruf and Asche to end the inning.
''The strikeouts were big to get out of the inning,'' Ohlendorf said. ''I had a really good fastball with a lot of life on it. I was getting some swings and misses with it, a lot of popups.''
Zimmerman singled in the bottom of the first. After Jayson Werth walked, Zimmerman took third on Harper's fly to right and scored on Desmond's infield single.
Ramos led off the second with his 14th home run on a line drive into the visitor's bullpen.
Zimmerman made it 3-1 when he sent Kendrick's 0-2 sinker into the same bullpen to start the third.
Freddy Galvis led off the Phillies' fourth with a hit to left. Galvis tried for a double and barely beat Harper's throw, but Steve Lombardozzi's tag pushed his hand off the bag and he was called out.
''He's one of the better ones for sure,'' Philadelphia manager Ryne Sandberg said. ''His speed getting to balls, whether they're in the gap or down the line. And then his arm strength and his accuracy is some of the best you'll see.''
Then in the sixth, Harper picked up his second assist and 12th of the season when he threw out Ruiz trying for a double.
''I get fired up because it doesn't happen often, but it's an adrenalin rush throwing guys out,'' Harper said.
The Nationals chased Kendrick in the fifth. Desmond picked up his second infield single, this time with the bases loaded, to make it 4-1. With two outs and a 3-2 count, Ramos hit a hard grounder off the foot of reliever Luis Garcia. The ball deflected up into the air for an infield single as two runs scored.
''Ramos hit the ball of the pitcher's foot and it went about three stories high,'' Johnson said. ''Nobody knew where it was and Bryce was running hard, that was great.''
NOTES: Domonic Brown (heel) pinch hit for Philadelphia in the ninth, his first appearance since Sept. 1st. Asche snapped an 0-for-10 skid with his single in the sixth. . The Nationals named outfielder Billy Burns their Minor League Player of the Year and right hander Taylor Jordan Minor League Pitcher of the Year. . Gio Gonzalez (10-6, 3.31) opposes Cole Hamels (7-13, 3.45) on Saturday. . Before the game, the Nationals held a ceremony to honor the victims and first responders of Sept. 11, 2001.