This could easily be done in the site_watcher extension with a few
additions. I was actually just thinking about tracking 404s this week.
http://github.com/saturnflyer/radiant-site_watcher-extension
It already uses dashboard and already has the "ignore" feature.
It would just need a place to store the referrer info.
-Jim
Jim Gay
http://www.saturnflyer.com
On May 16, 2009, at 6:56, Jason Garber <[email protected]> wrote:
Here's an idea for an extension:
Alias_method_chain the show_page action so that any time we return a
status of 404, it gets logged to a table by url and referrer.
Better yet, it increments a hit count in the table. Then have an
admin tab or dashboard widget that shows the top 10 404s. Check a
box to mark it as fixed, but if it gets hit again, it will be
unfixed and highlighted in red. Would probably also need an ignore
checkbox to ignore common hack attempt urls. Making it compatible
with the dashboard extension would be ideal.
I probably won't get to it for another six months or so, but wanted
to plant the idea in case anyone else had time to nurture it.
Jason Garber
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant