Seeds in compost
Many materials used for making compost are contaminated with weed seeds. Late cut hay will certainly contain weed seeds. Straw can be examined for fruiting stalks of weeds. All manure other than poultry manure should be considered contaminated unless you have tested it. Horse manure and manure from other animals that have access to weedy pastures or pastures along roadsides are most likely to be contaminated with weed seeds.
In general, it is easier to use weed free materials to make compost than it is to try to kill weed seeds during the composting process. The problem with adding weedy compost to your garden is rarely that you will be immediately overwhelmed with weeds: usually the weed seed density of garden soil is higher than that of manure or poorly made compost. Rather, the problem is that you may introduce some new pernicious weed species that will cause management problems for years to come.
You can test manure for weed seeds by mixing several quarts of manure taken from various parts of the pile with potting mix in a 1:1 ratio and spreading it in flats. Keep the flats warm during the day and cool but not cold at night. For example, run the test inside in the winter, outside in the summer and in a cold frame during the spring or fall. Water the flats regularly, and observe any weed seedlings that emerge over the following two to three weeks. This test will usually show if weed seeds are present, but it may not accurately predict their density since some seeds may be dormant.
To kill weed seeds during the composting process, the pile should reach 140? F for at least two weeks. Some of the more resistant species may not be killed even by this treatment. For a small compost pile achieving a high sustained temperature may require insulating the pile (e.g., with loose, straw over plastic). If the weather is warm and sunny, the heat generated by biological activity can be supplemented with solar energy by covering the pile with clear plastic. Since the outside of the pile is unlikely to attain the required temperature for a sustained period in any case, thoroughly mixing the pile several times will probably be necessary. For a very small pile (e.g., < 1 cubic yard) attaining a high enough temperature for a long enough time to kill most weed seeds may be impossible.