Forum Replies Created

Viewing 15 replies - 1 through 15 (of 40 total)
  • Thread Starter MitchellAU

    (@mitchellau)

    I’ve just posted on the QUIC.Cloud Slack forum about this. I’ve had Quic.Cloud CDN on bypass the last month or so with no problems. Reactivated QC CDN yesterday and today our latest post shows a blank page on Safari and Chrome again!!

    So I have to manually clear the site cache. I’m beginning to wonder whether another CDN would be better than QC.

    Thread Starter MitchellAU

    (@mitchellau)

    The response headers of posts that are blank are a bit diffeent to posts that are correct in Safari.

    Summary
    URL: https://www.croakey.org/calls-to-address-widespread-violence-against-nurses/
    Status: 304
    Source: Memory Cache
    Address: 163.47.20.24:443
    
    Request
    :method: GET
    :scheme: https
    :authority: www.croakey.org
    :path: /calls-to-address-widespread-violence-against-nurses/
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Cookie: __hssc=241571421.12.1638327872063; __hssrc=1; __hstc=241571421.eb56cbccade84317fcf18be9f8228a1f.1637316207819.1638254368713.1638327872063.30; hubspotutk=eb56cbccade84317fcf18be9f8228a1f; _ga=GA1.2.1296100194.1637316196; _gat=1; _gid=GA1.2.1996628553.1638141655; __wpdm_client=94ec7c609197cda7486d06550aebf6df
    Accept-Encoding: gzip, deflate, br
    If-None-Match: "276744-1638255035;;;"
    Host: www.croakey.org
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15
    Accept-Language: en-au
    Referer: https://www.croakey.org/
    Connection: keep-alive
    
    Response
    :status: 304
    Content-Type: text/html; charset=UTF-8
    Content-Security-Policy: upgrade-insecure-requests
    X-XSS-Protection: 1; mode=block
    Link: <https://www.croakey.org/wp-json/>; rel="https://api.w.org/", <https://www.croakey.org/wp-json/wp/v2/posts/160384>; rel="alternate"; type="application/json", <https://www.croakey.org/?p=160384>; rel=shortlink
    Referrer-Policy: no-referrer-when-downgrade
    Date: Wed, 01 Dec 2021 03:09:36 GMT
    X-Content-Type-Options: nosniff
    ETag: "276744-1638255035;;;"
    x-qc-pop: OC-AU-SYD-101
    x-tec-api-origin: https://www.croakey.org
    x-tec-api-version: v1
    Server: LiteSpeed
    x-tec-api-root: https://www.croakey.org/wp-json/tribe/events/v1/
    expect-ct: max-age=7776000, enforce
    Strict-Transport-Security: max-age=31536000
    x-qc-cache: hit
    x-pingback: https://www.croakey.org/xmlrpc.php

    I dont really know much about headers but these 2 lines look odd.
    If-None-Match: “276744-1638255035;;;”
    ETag: “276744-1638255035;;;”

    ..compared to a correct post:-
    If-None-Match: “286301-1638322750;br”
    ETag: “286301-1638322750;br”

    Additionally, this line is present in correct posts but not on the blank posts.
    Alt-Svc: h3=”:443″; ma=2592000, h3-29=”:443″; ma=2592000, h3-Q050=”:443″; ma=2592000, h3-Q046=”:443″; ma=2592000, h3-Q043=”:443″; ma=2592000, quic=”:443″; ma=2592000; v=”43,46″

    • This reply was modified 4 years, 4 months ago by MitchellAU.
    • This reply was modified 4 years, 4 months ago by MitchellAU.
    Thread Starter MitchellAU

    (@mitchellau)

    Apologies
    Screenshot 1
    Screenshot 2

    Currently, all lscache settings are at default and Safari is loading all pages correctly.

    Curiously, I’ve turned CDN/Quic.cloud off but, according to headers, it still seems to be serving from CDN?

    Next, I will re-enable mobile cache and see what happens.

    Thread Starter MitchellAU

    (@mitchellau)

    The problem came up again but I think it has something to do with seperate cache for mobile. I’ve turned of quic.cloud as well. Hopefully get back asap on this.

    Can you try the screenshots links again? They work for me.

    Thread Starter MitchellAU

    (@mitchellau)

    By ATM I meant At The Moment – sorry, badly written.

    This page is blank in Safari – desktop

    Screenshot 1 – Network view Loading time keeps going up.

    Screenshot 2 – Elements view

    I’m going back to try defaults.

    • This reply was modified 4 years, 5 months ago by MitchellAU.
    • This reply was modified 4 years, 5 months ago by MitchellAU.
    • This reply was modified 4 years, 5 months ago by MitchellAU.
    • This reply was modified 4 years, 5 months ago by MitchellAU.
    • This reply was modified 4 years, 5 months ago by MitchellAU.

    I abandoned integrating our site with Instant Articles a few years ago. None of the plugins tried then worked out of the box and looks like nothing has changed.Facebook have really dropped support for WordPress sites trying to utilise Instant articles.

    I recently tried going down the rss route but all that was posted were Feature images and a title, nothing else.

    So for now, I’m avoiding Instant Articles.

    Hi @iperez_genius

    I’m using JNews theme. The JNews theme styler includes support for Events Calender.

    Screenshot

    Thanks Andy.

    Turns out -> Theme styling -> changing Accent Color was overriding the custom colors.

    All good now.

    I might jump in here as have the same issue BUT refreshing of CSS doesn’t help.

    As you can see from theEvent page the legend at top displays the correct colors but all events no matter what category are displayed as a pale grey or pink color.

    Interesting that past events have the correct color?

    Here’s the admin page

    I have flushed all caches as well.
    Update – List view on the events page shows the correct category colors.

    • This reply was modified 4 years, 8 months ago by MitchellAU.
    • This reply was modified 4 years, 8 months ago by MitchellAU.
    • This reply was modified 4 years, 8 months ago by MitchellAU.
    • This reply was modified 4 years, 8 months ago by MitchellAU.

    This problem has persisted for many months – probably going back over a year. Empty tags or the dreaded html space &nbsp; still throws errors. I’m not a great coder by any stretch but I’d have thought a simple filter adjustment would eradicate basic html problems?

    • This reply was modified 5 years, 10 months ago by MitchellAU.
    • This reply was modified 5 years, 10 months ago by MitchellAU.

    That’s the licence limitation – based on a ‘per user’ basis. We had to purchase a premium subscription so that all editors could use the plugin.

    Not sure if this helps but we needed to use a custom field

    add_filter('apple_news_exporter_byline', 'custom_author', 10, 2);
    
    function custom_author($byline, $post_id) {
    	   global $post;
           $post = get_post($post_id);
    	   $date_format = 'M j, Y';
    	   $guestAuthor = get_post_meta($post->ID, 'guest_author', true);
           if ($guestAuthor) {
    		   		
    				$byline = sprintf(
    				'by %1$s | %2$s',
    				$guestAuthor,
    				date( $date_format, strtotime( $post->post_date ) )
    	   			);
                  
           } else {
                 $byline = 'no author'.$post->ID;
           }
    	   return $byline;
    }

    I can confirm timeouts over the past week or so – not always but a lot. Wondering if it’s at Apple’s end?

    I also have formatting errors that weren’t there before – extra spaces between paragraphs. I’ve seen this on other website’s feeds.

    Thread Starter MitchellAU

    (@mitchellau)

    Thanks for the pointer, Bradford.

    I’ve done some editing of the body component JSON – in the default styles section but I’m not sure it’s in the right pace?. It is my understanding that the list style needs to be placed within the text style definition.

    This is what I have:

    {
        "textAlignment": "left",
        "fontName": "#body_font#",
        "fontSize": "#body_size#",
        "tracking": "#body_tracking#",
        "lineHeight": "#body_line_height#",
        "textColor": "#body_color#",
        "linkStyle": {
            "textColor": "#body_link_color#"
        },
        "listItemStyle": {
            "unorderedListItems": {
                "paragraphSpacingBefore": 18,
                "paragraphSpacingAfter": 18
            }
        },
        "paragraphSpacingBefore": 18,
        "paragraphSpacingAfter": 18
    }

    Should this be done using ‘Layout” and ‘Margin’ instead?

    • This reply was modified 8 years, 2 months ago by MitchellAU.

    Glad you got it working and thanks for the link.

    I’m having trouble with the plugin posting ALL my website’s pages as well as posts so I’ve uninstalled it until there’s an update or a better plugin.

Viewing 15 replies - 1 through 15 (of 40 total)