/** * Render paywall */ public function renderPaywall($content) { // Skip if in Elementor editor if ($this->isElementorEditor()) { return $content; } // Check if we should show full paywall or teaser+paywall $showFullPaywall = apply_filters('en_paywall_show_full', false); if ($showFullPaywall) { // Show only the paywall CTA, no content at all return $this->getCTA(); } // Configuration - Montrer les 2 premières LIGNES $teaserLines = apply_filters('en_paywall_teaser_lines', 2); // Split content into lines while preserving HTML $teaser = ''; $remaining = $content; // Method 1: Try to split by sentences first $sentences = preg_split('/(?<=[.!?])\s+/', strip_tags($content), -1, PREG_SPLIT_NO_EMPTY); if (count($sentences) >= $teaserLines) { // Take first X sentences as "lines" $teaserText = implode(' ', array_slice($sentences, 0, $teaserLines)); // Find where this text ends in the original HTML content $plainContent = strip_tags($content); $cutPosition = strpos($plainContent, substr($teaserText, -20)); // Find last 20 chars if ($cutPosition !== false) { // Try to find the corresponding position in HTML $tempContent = $content; $htmlPosition = 0; $textPosition = 0; while ($textPosition < $cutPosition && $htmlPosition < strlen($content)) { if ($content[$htmlPosition] === '<') { // Skip HTML tag $closeTag = strpos($content, '>', $htmlPosition); $htmlPosition = $closeTag + 1; } else { $textPosition++; $htmlPosition++; } } // Cut at paragraph boundary if possible $nextP = strpos($content, '

', $htmlPosition); if ($nextP !== false && $nextP - $htmlPosition < 200) { $teaser = substr($content, 0, $nextP + 4); $remaining = substr($content, $nextP + 4); } else { // Fallback: just add the text in a paragraph $teaser = '

' . $teaserText . '...

'; } }EIA error: U.S. crude oil inventories higher than expected - energynews

EIA error: U.S. crude oil inventories higher than expected

U.S. commercial crude oil inventories rose for the 10th time in 11 weeks, according to the EIA. This increase was due in part to an initial agency estimate error and a decline in demand for refined products such as diesel and propane.

Share:

According to figures released Wednesday by the U.S. Energy Information Agency (EIA), commercial crude oil inventories rose by 1.6 million barrels in the week ended March 10. This marks their tenth increase in eleven weeks, despite the increase in refinery utilization rates, which reached 88.2% last week, the highest since late December.

An initial estimation error

The EIA added some 15.6 million barrels on the week to the quantities officially in circulation. This statistical change usually reflects an initial estimation error, which this time is explained by an overestimation of exports and refinery capacity utilization. With fewer exports than previously reported and refineries using less crude than expected, the amount of oil available to the U.S. market is significantly higher than EIA’s estimate.

Continued weak demand for refined products

At the same time, demand for refined products in the U.S. is down, analysts say. This decline was seen over a four-week period and was primarily due to weak demand for distillate products, such as diesel and propane. Indeed, demand for diesel fuel fell by 12% compared to the same period last year, while demand for propane fell by 24%. As a result, total demand for refined products is 19.6 million barrels per day, 6% lower than the same period last year.

Production remains stable at 12.2 million barrels per day

Despite the decline in demand for refined products, U.S. production of these products remained unchanged. It still stands at 12.2 million barrels per day. This stable production may be explained by the hope of a recovery in demand in the near future.

 

Petróleos de Venezuela S.A. (PDVSA) recorded $17.52bn in export sales in 2024, benefiting from increased volumes due to U.S. licences granted to foreign partners, according to an internal document seen by Reuters.
The detection of zinc in Mars crude extracted off the coast of Louisiana forced the US government to draw on its strategic reserves to support Gulf Coast refineries.
Commissioning of a 1.2-million-ton hydrocracking unit at the TANECO site confirms the industrial expansion of the complex and its ability to diversify refined fuel production.
Oil stocks in the United States saw an unexpected rise of 7.1 million barrels as of July 4, defying analyst expectations of a decline, according to the U.S. Energy Information Administration (EIA).
Petro-Victory Energy announces the completion of drilling operations for the AND-5 well in the Andorinha field, Brazil, with positive reservoir results and next steps for production.
The Colombian prosecutor’s office has seized two offices belonging to the oil company Perenco in Bogotá. The company is accused of financing the United Self-Defense Forces of Colombia (AUC) in exchange for security services between 1997 and 2005.
Indonesia has signed a memorandum of understanding with the United States to increase its energy imports. This deal, involving Pertamina, aims to diversify the country's energy supply sources.
VAALCO Energy continues to operate the Baobab field by renovating its floating platform, despite modest production. This strategy aims to maintain stable profitability at low cost.
An empty reservoir exploded at a Lukoil-Perm oil facility in Russia, causing no injuries according to initial assessments pointing to a chemical reaction with oxygen as the cause of the accident.
The British Lindsey refinery has resumed fuel deliveries after reaching a temporary agreement to continue operations, while the future of this strategic site remains under insolvency proceedings.
BP and Shell intensify their commitments in Libya with new agreements aimed at revitalizing major oil field production, amid persistent instability but rising output in recent months.
The private OCP pipeline has resumed operations in Ecuador following an interruption caused by heavy rains, while the main SOTE pipeline remains shut down, continuing to impact oil exports from the South American country.
McDermott secures contract worth up to $50 million with BRAVA Energia to install subsea equipment on the Papa-Terra and Atlanta oil fields off the Brazilian coast.
A bulk carrier operated by a Greek company sailing under a Liberian flag suffered a coordinated attack involving small arms and explosive drones, prompting an Israeli military response against Yemen's Houthis.
The Canadian government is now awaiting a concrete private-sector proposal to develop a new oil pipeline connecting Alberta to the Pacific coast, following recent legislation intended to expedite energy projects.
Petrobras is exploring various strategies for its Polo Bahia oil hub, including potentially selling it, as current profitability is challenged by oil prices around $65 per barrel.
Brazilian producer Azevedo & Travassos will issue new shares to buy Petro-Victory and its forty-nine concessions, consolidating its onshore presence while taking on net debt of about USD39.5mn.
Major oil producers accelerate their return to the market, raising their August quotas more sharply than initially expected, prompting questions about future market balances.
Lindsey refinery could halt operations within three weeks due to limited crude oil reserves, according to a recent analysis by energy consultancy Wood Mackenzie, highlighting an immediate slowdown in production.
The flow of crude between the Hamada field and the Zawiya refinery has resumed after emergency repairs, illustrating the mounting pressure on Libya’s ageing pipeline network that threatens the stability of domestic supply.