How do authorized access to external HTML?
-
(This is a cross post to one in the Plugins/Hacks forum. Hope this is not too obnoxious. I don’t really know where to post it.)
I am new to WordPress and want to build a site that has normal blog features plus the ability to log in users who will then have access to posts under their own accounts. This is not a big issue given plugins such as Role Manager and others.
The issue is that these “posts” are, at the moment, prepared by separate scripts outside of WP. These “posts” are, at this point, actually HTML files, and they come in sets consisting of one index.html per user that contains links to a number of other HTML files. Each one contains a fairly large table or set of tables. The whole set is to be accessed only by a given user.
I am struggling with whether to implement this as accesses to this file structure outside of WP, and use WP for login and authorization, or whether to upload the whole group of files as WP posts. Each method has complexities, AFAIK:
1) Going outside WP for access requires somehow sharing session info from WP to an external PHP authorization script. This doesn’t seem easy, at least I haven’t found a ready-made plugin to do this either through cookies or session variables (which WP doesn’t set, but I suppose could be done through actions/filters).
2) Keeping it all internal to WP requires uploading the full set of files into WP, then building a set of links from each user’s newly uploaded “index.html” to the other posts uploaded as part of the same operation. I’d also be concerned about the reliability of this method, as uploads could fail and leave the posts in some unknown state.
Any ideas appreciated, including saying that this is not something WP can do. I currently have a web site running with this implemented but without blog features — just static pages.
- The topic ‘How do authorized access to external HTML?’ is closed to new replies.