Is It Possible To Generate A Gzipped Sitemap With Asp?
I am looking for a way that will allow me create the google sitemap for my website at the click of a button - so that every time i update a page using my (asp) content management system it automatically updates the xml.gz file on the server in turn. I know how to parse the content into an xml file, but despite lengthy searches on the web, I cant find any way of gzipping files using asp, which i thought should be possible, as IIS 6.0 has that http compression utility.
The problem isn't that the below doesn't work, it does. The problem is our sitemap is too big and I need to break it up. My objective is to output the categories only and when user clicks on a categorie the resulting proucts display similar to a tree view.
I have all the text for all pages and sub pages in the database, also news, events you name it everything is dynamically driven.
Now I have come to the sitemap page, and thinking about how to go about displaying all of the pages.
Can anyone give me some ideas of a way in doing this. How would you approach this task. Obviously this needs to cater for new pages being added by the client when he or she decides to add them.
I just logged onto Google sitemaps to check since I haven't logged on for a few weeks and I noticed a few new features.
One of these is a verification process and I tried to verify my site by following the instructions but I was then shown a message below...
"We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header."
I was then sent to this page (3rd paragraph from the bottom) https://www.google.com/webmasters/si...ileconfigerror
It reads as follows: ------------------ We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.
this configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 in the header of 404 pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. This would allow others to see your site statistics. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.
Please modify your web server configuration to return a status of 404 in the header of 404 pages. Once your web server is configured correctly, try to verify the site again. If your web server is configured this way and you receive this error, click Check Status
What I would like to know is how I could set the status, whats the correct way to write this in the header of the 404 error page I made?
I'm working with a client that runs an ASP based site, and we are running into some roadblocks.
First off, I don't know which ASP-friendly blogging platform to go with. I want something similar in functionality to Wordpress if possible. I've looked at Forest Blog, Presstopia, .Blog, and now Community Server. Which is best in terms of creating search friendly URL's and overall functionality?
Also, we are looking for a sitemap generation script that runs on the server. It seems as though all of the off-site generators are choking and only generating 260 URL's out of 15000. I'm not sure if it's a crawling problem, but if you know of any good sitemap generator for large ASP sites that would be helpful.
Has anyone else had any trouble setting up a sitemap view to be filtered by roles?
We've put a cust role provider in place, and we can verify that it's only being called once for each connection, and is returning the correct roles, but...
When we specify a role on the top sitemapnode that role seems to add to the roles on lower level nodes, so we end up needing to put roles="*" on the top node, but then regardless of which role we put against the subnodes they're all visible - seemingly inheriting this from the top one. Code:
I was going to code something to make an index.htm page from an existing file structure. Before I started, I just wanted to ask if anyone had done this before. No sense in trying to reinvent the wheel, eh?Basically, i just want to create a simple index page with text links. Nothing fancy.
how I generate a new XML file that I can then use with an XSLT file. I am trying to use an XML file generated from Microsoft Project or even better generate an XML file from the project file (MPP File) itself. Which I can then use with an XSLT file
I am new to XML and want to create a project viewer using XML, ASP and XHTML. I have an idea of how this should work but would really appritiate any help someone can offer. Is it possible to take an XML file and generate it in ASP without using an XSLT file??
I've been trying to Google this but have been getting far too many hits to be of use. Is there a slick way to generate a CSV or other Excel-friendly format and push it to the client? I'm using VBScript (and HTML and other typical stuff of course) on the ASP pages (no .NET stuff). Just a shove in the right direction is all I really need here.
how can i generate ID(automatically) when user press the "New Record" button in my registration pages.the ID will get from the existing database and start with C01234.let says the last id in database is C01234,then when the New Record is entered,then the id number will change to C01235.
I noticed that PHP have the ability to create PDF files without using any third partty componentys. Most notably is via FPDF. It generates PDF by using "pdf markups" / or ghostscripts .
I believe the same can be done via ASP too. One has to use response.write pdf headers. Has anyone succeeded in doing that? I have the intention to go thru PHP's FPDF and try to convert that to VBScript.
I trying to generate a new XML file everytime a user post a value through a simple form. The form has one textfield called "price" and I want to save a new XML file (rewriting the file if the case) using the value entered. I don't want to append the value. I saw many turorials, but none of them work for me, and everytime I try to edit them, nothing seems to work.
I want to create an Excel object from an ASP page. Basically, the input parameters to the Excel would be from the ASP. I know ASP and I know VBA, but I haven't used both of them together. Here's what I would like to do -
The ASP should generate an Excel report by passing 2 parameters to the Excel application (I have done this independently; without interfacing with ASP).
I know that I can create an excel handle from the ASP as -
Set MyExcel = Server.CreateObject("Excel.Application")
I dont know where the VBA code has to go? DO I have to include it in the ASP?
I have a web page using frameset split into few pages. And I want to generate one page of HTML code and send it through email. My question is have to generate a HTML page using asp?
I want to be able to generate a date (day,month,year) and add it to a DB so as to prove when a record was added(when a transaction was completed)I then want to delete a record automatically 1 day after the date was generated.
I have a form which contains drop down box with several available selections. Based on the users selection, I would like to have a popup box appear upon the form submission that gives them some additional information about their dropdown box selection. Is this possible?If so, how do I go about doing something like this?
i have a long recordset that i want to page through. can sql pass back say, 5 records from 20 to 25 out of 1000? i can then pass 2 variables between the pages to dynamically generate the sql and thus page through the results. can someone post up a simple example of this if its possible?
I have design a single row (which includes text box and combo box) with muptilpe columns. When user enters a one details (for example: employee id), the other boxes will be automatically be filled in with that employees details. This I can do. However, how if I want to add more rows (to get more than one employee's details)? I can add rows but then the previous info (say on row one) goes missing
I've looked around for a good while trying to figure out how to do this... and I need your help.I have a web page that is dynamically generated and it display rows from a DB and the rows get to be in the 100s. I need to break it up into sections... but I'm not sure how to go about doing it.What I'm wanting is something like this:
<< Previous 1 | 2 | 3 | 4 Next >>
(kindof like what is at the bottom of the forums here)
I need to create a table with 4 cols and X rows based on the number records in my database. I dont know how this can be done, mabye with an array?
If I got for example 6 records in my database, a table with 4 cols and 2 rows should be generated, the last row will only have 2 cols with information... Code:
currently, i export data from ASP to Excel. but i want to change it to RTF. i have looked at microsoft website and tried whay i have studied but failed to make it. at microsoft website, the table is created using rtf script but in my case, i just want to create it using html script.
and then, when user click PRINT button, i want my system shows the detail contents of rtf file and then open the Print window later. so user does not need to click File->Print and so on. is there any example script i can study?
I'm trying to generate three random different numbers to display three images on a page without repeating them. I can't seem to be able to get them to always be different. There's probably some simple solution, but I can't figure it out.
I am using the code below to create an excel document from data that is returned from an sql query. The formatting of the excel document is pretty and all is good unless I hit the back button and run my query a second time, or a third time (I haven't made it past 3 times). Basically what happens is every time I do this, excel does not close once I hit my back button. Does anyone have a solution to this problem? Another problem is that when I run the query it just opens excel within my browser, is there any way to make it ask if you want to save or open the file?
I basically throw this code at the top of the html doc: .....
i am developing asp project. database in ACCESS. i want to generate AUTOID when user submit the form. how can i do this?i mean, there is one field AutoId which increment by 1 , when user submit the form.
This is a strange request - but I'm trying to generate a Type Mismatch error. It's for an example in some documentation.I was looking for something that would error (like a mathematical equation using a string) that could be simply fixed using CInt(). However, the strings are getting converted at run time so I can't get the error to throw.
I want to prepopulate a ticket number in my form, like when user enters the form the field ticket Id should always be filled with a number. I want to start my number with 1000.
in relation to creating word documents on the fly using asp.I am using SQL Server 2000 as my backend and want to create word documents containing the data i retrieve.
I am creating a site to show artists work. I have a database and can retrieve and display a list of artisits, other info, and a related image for each artist - all drawn from the respective entries on the database.
What i would like to do is then use that record to dynamically generate another page that would display more detailed information about that one specific artist that the user clicks on - again drawn from that entry in the database, (rather than merely linking to a static html page - which would require making some 120 extra pages).
I was wondering whether i would link to another .asp page and force it to display contents relating to a specific id - but i dont know how to do that anyway. Im using access database and iis 5.0 generating .asp pages with VBscript.
in Database i have table 'timetable' it contain one field 'lect_id' which is primary key of that table. i want to generate unique ID. How can i do that.