In a large frypan heat the olive oil over medium heat. Add the onion and saute until soft. Stir in the green tomatoes and season to taste with salt and pepper. Reduce heat to medium low and cook for about 10 minutes.
Meanwhile in a large pot of boiling salted water cook pasta until al dente. Drain.
Toss pasta with tomatoes. Top with the crumbled feta cheese.