I went out and rented a rug doctor and went over the thing with just water repeatedly over two days, but kept getting more and more foam. Towards the end of my efforts, the extracted water had a yellowish tinge to it, and I now have a really crappy looking piece of carpeting with yellowish stains across much of it and blue detergent stain where the carpet meets the vinyl tile floor.
I'm really at a loss for what to do next to try to restore this piece of carpet to a decent appearance. It's in a very conspicuous location linking one end of the upstairs part of the house with another, and I know I'm going to fume every time I walk past it to the baby's room if I can't at least mitigate the appearance.
Can anyone offer suggestions?