How do I put two footnotes in the caption of a float?

This question Using \footnote in a figure's \caption already has some suggestions on how to get a footnote in a caption. None seem really satisfactory because it seems hard to get the footnote text on the same page as the footnote mark. Anyway, I still want to do something more complicated: put two footnotes in one caption.

Is there a better way to do this and get the right numbering than to play around with the footnote counter manually? Obviously using \footnotemark[] is not an option because this will lead to wrong numbering sooner or later.

To demonstrate the default behaviour:

\documentclass[a5paper]{article}
\usepackage{fnpct}
\begin{document}
\begin{figure}
\caption[Caption title in LOF]{This is a footnote in a caption\footnotemark{} and another one\footnotemark.}
\end{figure}
\footnotetext{First footnote}
\footnotetext{Second footnote}
\end{document}

-
A footnote to a caption is evil. Two is not even to be thinked of. ;-) –  egreg Nov 26 '12 at 15:31
@egreg As long as it isn't so evil that I will get myself subjected to a targeted killing, I think I will go with what my text suggests ;) –  Christian Nov 26 '12 at 16:41

LaTeX supports footnotes in floating objects by environment minipage:

\documentclass{article}
\begin{document}
\listoffigures
\section{Hello World}
\begin{figure}
\begin{minipage}{\linewidth}
\caption[Caption title in LOF]{%
Caption title%
\footnote{First footnote}%
\footnote{Second footnote}%
}
\end{minipage}
\end{figure}
\end{document}


-
That's actually a very good solution to the problem! Sorry for reacting so late. –  Christian Dec 5 '12 at 15:55