Web page creation / last edit date

Hallo, germany calling,
Maybe this is slightly off topic, but I can't find a better forum.
All I would like to do is ask a web server the last date that a particular web page was updated/edited/written to.
anyone got any pointers?
thanks
kent

The last-modified field isn't required; i.e. the server doesn't have to send this header. As I said, I tested the second snippet I wrote and had no problem with it. If the server doesn't send this information for your file, I'm afraid you're not going to be able to get the information you're looking for, unless you have permission access to the file via a URI (as in the first example).
Per the W3:
14.29 Last-Modified
The Last-Modified entity-header field indicates the date and time at which the origin server believes the variant was last modified.
Last-Modified = "Last-Modified" ":" HTTP-date
An example of its use is
Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT
The exact meaning of this header field depends on the implementation of the origin server and the nature of the original resource. For files, it may be just the file system last-modified time. For entities with dynamically included parts, it may be the most recent of the set of last-modify times for its component parts. For database gateways, it may be the last-update time stamp of the record. For virtual objects, it may be the last time the internal state changed.
An origin server MUST NOT send a Last-Modified date which is later than the server's time of message origination. In such cases, where the resource's last modification would indicate some time in the future, the server MUST replace that date with the message origination date.
An origin server SHOULD obtain the Last-Modified value of the entity as close as possible to the time that it generates the Date value of its response. This allows a recipient to make an accurate assessment of the entity's modification time, especially if the entity changes near the time that the response is generated.
HTTP/1.1 servers SHOULD send Last-Modified whenever feasible.

Similar Messages

  • What is an easy web-page creation program for use with MacBook Pro?

    Can anyone suggest an easy web-page creation program for use with MacBook Pro?  I have used FrontPage with my PC, but am changing to a MacBook Pro.

    It largely depends on your skill level. Do you want to write web page code, or do you want to just design something and have it turn into a web page automatically?
    If you are more of a designer, try these:
    RapidWeaver
    Freeway Pro
    Muse
    If you want to write web page code, try these:
    Coda
    BBEdit
    Dreamweaver
    If you really don't want to write the code and want the best experience for your viewers, and you want to spend the least amount of time on it, my recommendation is:
    No program at all.
    Instead, sign up with a web site company like:
    WordPress.com (hosted by them) or WordPress.org (hosted on your server)
    Squarespace
    Wix
    The reason is that these companies have fully operational, nicely designed web site templates that you just fill in with your words and pictures, and they are ready to go. They also give you these benefits:
    Already designed to the latest web standards
    Already designed to resist hackers
    Already designed to work on all browsers
    Already designed to automatically adjust the page for readability on desktop, laptop, tablet, and smartphone screen sizes
    Already designed for accessibility
    Already designed for Search Engine Optimization so that your page will be found on Google
    Already designed with social media links built in if you want
    It is not like the old days where you build a site in Front Page and you assume it will only be seen on a desktop computer. If you build it yourself with a web page program, do you have the knowledge to make a site that works on all of the different web browsers and mobile devices, and is friendly to search engines and social media? If you don't have those skills, working with a website company can be a lot better, faster, and more reliable than trying to hammer all of that out yourself using code in some app.

  • Show the last edit date and time ?

    I can't find a way to see the actual date and time of the last edit made. I see where you can sort the view by this in grid mode.
    Has anyone figured this out?
    Thanks.

    You can see it in the Metadata panel with the EXIF or ALL sets. There isn't a way to display it on the image using View Options, however.

  • Setting of "opening web pages from last session"not works when open next time

    In Options, setting to "open windows & tab pages from last time" does not work. I have tries several time but nothing happens. have written to you earlier also , please help

    ''setting to "open windows & tab pages from last time" does not work.''
    That would be very surprising but a change was made to Firefox 4 to always have the choice of going to History ("Alt+S") and choose "Restore previous session".
    With Firefox 5 coming out in a few days (June 21-22) you might try again then, if the solution the developers built in does not work for you. Do you know about pinning tabs ('''app-tabs''') they persist across sessions as a convenience -- if I really want to keep something permanently then I would bookmark such things as a group. Because they can be closed easily.

  • Photo web page creation

    I need some help trying to create a web page of photo thumbnails with blow-up larger images:
    1) I want to create a contact sheet type of web page of multiple photo thumbnails.
    2) When you click the photo it opens into a small window or "blow-up" version of the thumbnail. (Clicking the thumbnail does NOT take you to a new page with the full size image).
    3) The blow-up photo has a circle and X that will close the blow-up window.
    I've already figured out how create pages of thumbnails that will take you to a new page with the full size image. I'm trying to create the effect where you never leave the main page, the thumbnails just blow-up into small windows that can be closed again.
    Apple uses this effect a lot with photos and movie clips on their page. An example of what I am trying to do can be found on the iLife/iPhoto/MobileMeGallery info page at Apple.
    If you look to the right just under the main large banner images, there is a grey box titled "iPhoto Showcase." If you click one of the thumbnails there, the picture blows out to a larger size of the image, but doesn't take you to another page. The blow-up image has a little circle and X at the top left to close the window. Main page is still visible behind the blow-up window.
    I'm using a fairly new MacBook with OS 10.5, Aperture 2.0, iWeb '08. I don't have a .Mac or MobileMe account yet. I'm a recent convert from the Darkside, so right now I use google's Picasa Web Albums and google's website creator for my site. If I can get this to work, I'll make the switch MobileMe once the early .Mac conversion kinks get worked out.
    Thanks,
    TDizzle...

    No… no problems at all. I sometimes use my 2405FPW with my MBP and it works just fantastic.

  • Aperture 3.4 - screwed up web page creation?

    I just opened Aperture after taking the upgrade yesterday, and attempted to build a web page form a selection of images (which I have done dozens of times before).
    Now, however, when I select a Theme (any theme, it turns out) and indicate to add the selected images to the web page (or journal, for that matter), all I get is a blank page - the "teme" stuff is nonexistant. What did the gang in Cupertino do here? Is there some new setting I cannot find?

    I just opened Aperture after taking the upgrade yesterday, and attempted to build a web page form a selection of images (which I have done dozens of times before).
    Now, however, when I select a Theme (any theme, it turns out) and indicate to add the selected images to the web page (or journal, for that matter), all I get is a blank page - the "teme" stuff is nonexistant. What did the gang in Cupertino do here? Is there some new setting I cannot find?

  • KDE 4 and web page creation

    The old version of KDE had the ability to create a simple web page. You could open a directory of images using konqueror, click-click-click, and you had a simple web page with thumbnails that could be clicked on to view the full image.  I can't find it in KDE 4.
    Any suggestions?

    Thanks QuimaxW,
    No luck as far as I can tell. I have several other distros with KDE 3 on them around but thats a pain. Also have MAC but I dont like the way Iphoto does it. Oh well. Maybe in the future.  Thanks for your help.

  • Print web page to PDF with date as file name

    Hi
    I'm doing environmental monitoring for a construction project and i need to download the 5 day forecast from a particular web site daily. I'd like to automate this to happen at 7 am every day. I've tried record but am having problems.
    Here are the steps i'd like it to take:
    1. Open book mark in Safari
    2. Open print dialog (command p)
    3. Open save to PDF
    4. Select folder in finder
    5. Enter current date as file name
    6. Save pdf file.
    I've tried Get Specified URL and nothing happens. When i record the mouse always misses.
    Help

    Hi... had to put this up for a while as I got busy in my day job. Here's where i'm at
    I can successfully generate a PDF file but it's blank. The other two problems I'm having is that I'd like to name the file with the current date. I can call up the current date using that tool but i can't figure out how to make it the file name whether i print to pdf or use the tool.
    I think there's something i'm missing here.
    Message was edited by: Gary Springs

  • On a web page with an editable table, the delete row function no longer works (the little circle with X button)

    When you try to delete a row in an editable table using the built-in functions, it no longer works. We use this function regularly and just noticed this problem today. The "create row above" and "create row below" functions work, just not the delete. The delete column button does work however, so it's a bit baffling why this one function does not work. (The pages are located on our internal server so are not publicly accessible but the functionality is built into firefox.)

    Same problem here. I found out that when you have a table with only 1 row, it works fine, but when you have multiple rows, it doesn't work on any row.
    Micmark, do you have that too?
    P.S. I also tried this outside our CMS, by using Firebug to add a contenteditable="true" on a DIV in a normal font-end template, and that has the same problem.

  • Web Page Composer - Displaying & Editing pages gives a runtime error

    Hi,
    After installing the WPC and placing the initial permission as described in <a href="http://http://help.sap.com/saphelp_nw2004s/helpdata/en/45/f91dd13c7a04aae10000000a114a6b/content.htm">defining permission in the portal content studio</a> end users (with the wpc_editor_role) can nicely create webpages, hence are not allowed to edit these pages (runtime error appears). This though they have onwership rights on the webpage... (The everyone group has "Full control" with end user permission )
    By giving them administrator rights the issue is solved and the wpc functions beautifully, but after publishing the page, and taking away the administrator rights they are not allowed to see the page (white screen).
    Does anyone have a suggestion to solve this issue...?
    thx in advance,
    Andre

    Issue solved!
    As expected the issue was located in the permission settings.
    Perhaps helpfull for you also,I resetted all permission and followed the following steps:
    1. Are permissions for the PCD entry point set properly?
    That is (if you use the recommendation for placing the iViews in a folder in PCD and provide entry point to it) in corresponding PCD folder, give e.g. read ermission to the 'everyone' group.
    Activate the End User indicator.
    http://help.sap.com/saphelp_nw70/helpdata/en/06/4776399abf4b73945acb8fb4f41473/frameset.htm
    2. Are the general permission for WPC set correctly in Portal Content Studio?
    http://help.sap.com/saphelp_nw70/helpdata/en/45/f91dd13c7a04aae10000000a114a6b/frameset.htm
    3. Are the Initial Permissions for folders set correctly http://help.sap.com/saphelp_nw70/helpdata/en/a6/78aa5c2ab64c1d83db59a25793e9eb/frameset.htm
    regards,
    Andre

  • The data from my web page insert in SQL table as question marks

    I use Farsi language in my web page for inserting customer data. The data that is inserted in webpage and submitted, showed as ???? in SQL table. A lot of developers say that I should use N' before the Unicode character, but I don't know how I can use it
    in my code. I attached the code. Can someone say me where I should insert the N in my code?
    protected void cmdInsert_Click(object sender, EventArgs e)
    //Checking the validation of required fields
    if (cboCustomerType.Text == "" || cboTitle.Text == "" || SearchableName.Text == "" ||
    FinalName.Text == "" || NationalID.Text == "" || BusinessID.Text == "" || MobilePhone.Text == "")
    lblStatus.Text = "لطفا فیلدهای اجباری را حتما پر کنید";
    return;
    //define ADO.NET objects.
    string insertSQL;
    insertSQL = "INSERT INTO Customers(";
    insertSQL += "CustomerType,CustomerTitle,CustomerFirstName,CustomerLastName,CompanyType,";
    insertSQL += "CompanyName,SearchableName,FinalName,NationalCode,BusinessID,City,Address,PostalCode,";
    insertSQL += "Zone,MobileNumber,WorkPhone1,WorkPhone2,HomePhone,FaxNumber,Email,Website,Note)";
    insertSQL += "VALUES('";
    insertSQL += cboCustomerType.Text + "','";
    insertSQL += cboTitle.Text + "','";
    insertSQL += CustomerFirstName.Text + "','";
    insertSQL += CustomerLastName.Text + "','";
    insertSQL += cboCompanyType.Text + "','";
    insertSQL += CompanyName.Text + "','";
    insertSQL += SearchableName.Text + "','";
    insertSQL += FinalName.Text + "','";
    insertSQL += NationalID.Text + "','";
    insertSQL += BusinessID.Text + "','";
    insertSQL += City.Text + "','";
    insertSQL += Address.Text + "','";
    insertSQL += PostalCode.Text + "','";
    insertSQL += Zone.Text + "','";
    insertSQL += MobilePhone.Text + "','";
    insertSQL += Phone1.Text + "','";
    insertSQL += Phone2.Text + "','";
    insertSQL += HomePhone.Text + "','";
    insertSQL += FaxNumber.Text + "','";
    insertSQL += Email.Text + "','";
    insertSQL += Website.Text + "','";
    insertSQL += Note.Text + "')";
    SqlConnection con = new SqlConnection(connectionString);
    SqlCommand cmd = new SqlCommand(insertSQL, con);
    //try to open the database and execute the insert
    int added = 0;
    try
    con.Open();
    added = cmd.ExecuteNonQuery();
    lblStatus.Text = added.ToString() + "اضافه شد";
    catch (Exception err)
    lblStatus.Text = "Error inserting record.";
    lblStatus.Text += err.Message;
    finally
    con.Close();
    //If the insert succeed, refresh the customer list.
    if (added > 0)
    FillCustomerList();
    Regards,

    Because you're composing the SQL statement with string concatenation, you would put the "N" before the single quote,
    VALUES(N'";
                insertSQL += cboCustomerType.Text + "',N'";
                insertSQL += cboTitle.Text + "',N'"; // ...etc
    However, composing SQL statements with string concatenation is not a suggested practice because it's open to SQL injection (see:
    https://technet.microsoft.com/en-us/library/ms161953(v=sql.105).aspx). A safer way to do this is to use command parameters to represent the values (see SqlCommand.Parameters
    property). If you use parameters, you can specify parameter data type as SqlDbType.NVarchar, which will ensure your text values are passed in as Unicode. Also ensure that the columns in question are defined in the database table definition as Unicode (NVARCHAR
    rather than VARCHAR).
    Hope this helps, Bob

  • Netbeans 6.0 web page Error adding data to mySQL table - date datatype

    Netbeans 6.0 web page, trying to add data into a mySQL table. The table has a datetime datatype. The add does not work when trying to add a record. I have no problems when I add a record to a table without a date datatype. Here is my code.
    RowKey rk = fwusersDataProvider.appendRow();
    fwusersDataProvider.setCursorRow(rk);
    fwusersDataProvider.setValue("fwusers.userid", userid);
    fwusersDataProvider.setValue("fwusers.password", pwd);
    fwusersDataProvider.setValue("fwusers.firstName", "A");
    fwusersDataProvider.setValue("fwusers.lastName", "K");
    fwusersDataProvider.setValue("fwusers.middleName", "");
    fwusersDataProvider.setValue("fwusers.companyName", "DCC");
    fwusersDataProvider.setValue("fwusers.password1", "");
    fwusersDataProvider.setValue("fwusers.password2", "");
    fwusersDataProvider.setValue("fwusers.password3", "");
    Calendar cal= Calendar.getInstance();
    java.sql.Date sqlDate = new java.sql.Date(cal.getTime().getTime() );
    fwusersDataProvider.setValue("fwusers.dateCreated", sqlDate );
    fwusersDataProvider.setValue("fwusers.group", "worker");
    fwusersDataProvider.commitChanges();
    fwusersDataProvider.refresh();

    bkrivensky wrote:
    Netbeans 6.0 web page, trying to add data into a mySQL table. The table has a datetime datatype. The add does not work when trying to add a record. Don't suppose you want to share the error message you're getting do ya? Go on, be a sport.

  • Help with editing web pages in Contribute

    Once I am connected to the website I want to edit and I click
    on "edit page" in Contribute, the screen turns gray and I cannot
    edit anything. It saves as a "draft" and I could publish it but it
    won't allow me to see the web page I am editing. Help!

    Thanks, I just reinstalled the program but its still not
    working.....any other suggestions?

  • Oracle CODE Submission Web Page - MAKE IT WORK  finally ( not temporary! )

    Is it possible to finally FIX Oracle Code Submission web page. Last year ( last half ) it return errors, same this time. Is any possible way to finally FIX it without anytime alert that it is not working or broken. As far as I understand that the place were we share our code/tips/ideas, not publish our friends or something like that. I think if we use it, then at least put warning prior than we try to submit. No conversations about re-type same code ( tip used SQL, new tip - SAME but using PL/SQL function ), but at least make it work.
    Thanks/Ilya

    Thanks, Olivier. That may help me in future and shows me where I can edit some of the HTML code (though I've no experience yet of even reading HTML or Javascript, let alone editing it!).
    The web page I'm trying to edit has a URL of https://....../sap/bc/gui/sap/its/bbpstart which fits your example but the templates under service BBPSTART seem to bear no resemblance to the screen I need. The code under services BBPSC01 and BBPSC02 looks more relevant but still doesn't refer to the screen input field that I'm looking to edit.
    Doing View Source on the web-page dumps the (very lengthy) generated code. Extracted from the header of that code-dump is...
    This page was created by the SAP Integrated ITS, WebAS: SRA, workprocess: 0
    Template: bbpsc02/99/saplbbp_sc_ui_its_2000.html
    Does that point me to the actual editable source?
    (I am using SE80 in the SRA system.)
    I wrote the above on 3rd Jan but was unable to post it.
    Since then I have found template SAPLBBP_SC_UI_ITS 2000 in service BBPSC01 does bear a resemblance to the displayed page code but as a scanty framework. The generated code has vastly more lines. I can't yet see how the template becomes the web page and where all the addditional lines of code come from and are edited.

  • Help on retriving the content from a excel file and web page

    hi,
    i need help on identify the content on a webpage. how to do this ?
    in myproject i need to read an excel file how to read an excel file , in java?
    after reading the excel file ,i have to open a webpage based on the link available in the excel file.
    how to perform this action?
    and from the web page i need to retrive the each individual text
    how to perform these action?
    please help .... urgent
    regards,
    valli

    sales team will enter data in excel file .
    the excel file will have a list of links ,
    i need to access the excel file and open that link.
    from the link i will get some information ,such as
    company name, address, phone no, contact details.
    i need to identify each individual (address, email
    id) from the web page and store that data in the data
    base .
    how to access a excel file from java?
    i found in google jakartha-poi-jar file.
    but ther eare many jar file. which one i have to
    download?
    how to identify from a web page these different
    items?
    thanksPlease answer DrClaps's question from reply #3.

Maybe you are looking for